We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea29723 commit a1fb056Copy full SHA for a1fb056
.github/workflows/ci.yaml
@@ -11,11 +11,6 @@ jobs:
11
- uses: actions/checkout@v3
12
- name: Install Nix
13
uses: DeterminateSystems/nix-installer-action@main
14
- - name: Build example flake
15
- id: example
16
- run: |
17
- cd ./example
18
- nix build -L --override-input process-compose-flake ..
19
- name: Run test
20
id: test
21
run: |
test/test.sh
@@ -1,4 +1,11 @@
1
+set -euxo pipefail
2
+
3
cd "$(dirname "$0")"
4
5
+# First, build the example.
6
+(cd ../example && nix build -L --override-input process-compose-flake ..)
7
8
+# Then run the test.
9
rm -f ./data.sqlite
10
nix run -L --override-input process-compose-flake .. .
[[ $(cat result.txt) == "Hello" ]] && echo "Test passed" || (echo "Test failed" && exit 1)
0 commit comments