We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d1fe38 commit f99252eCopy full SHA for f99252e
README.md
@@ -61,3 +61,23 @@ $ sudo apt-get install postgresql-VERSION
61
$ echo "export PATH=$PATH:/usr/lib/postgresql/VERSION/bin/" >> /home/ubuntu/.bashrc
62
$ stack install tmp-postgres
63
```
64
+
65
+## GitHub Actions
66
67
+Assuming you are using one of the standard workflow containers, simply add workflow steps which install postgresql as above. For example,
68
69
+``` yaml
70
+jobs:
71
+ build:
72
+ runs-on: ubuntu-18.04
73
+ steps:
74
+ - name: "Install postgresql"
75
+ run: "sudo apt-get update && sudo apt-get install postgresql-10"
76
77
+ # ...
78
79
+ - name: "Run test"
80
+ run: |
81
+ export PATH=$PATH:/usr/lib/postgresql/10/bin
82
+ stack test
83
+```
0 commit comments