mirror of
https://github.com/Platonic-Systems/process-compose-flake.git
synced 2024-09-11 14:07:00 +03:00
Allow test.sh to be run from any dir
This commit is contained in:
parent
e39066d920
commit
d6723f2de3
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -19,6 +19,5 @@ jobs:
|
||||
- name: Run test
|
||||
id: test
|
||||
run: |
|
||||
cd ./test
|
||||
./test.sh
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
cd "$(dirname "$0")"
|
||||
rm -f ./data.sqlite
|
||||
nix run -L --override-input process-compose-flake .. . -- -t=false
|
||||
[[ $(cat result.txt) == "Hello" ]] && echo "Test passed" || (echo "Test failed" && exit 1)
|
||||
|
Loading…
Reference in New Issue
Block a user