mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-02 22:00:53 +01:00
chore(actions): actually error in CI if tests fail
This commit is contained in:
parent
a53580c9f9
commit
3bd86b99f1
1 changed files with 6 additions and 1 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -115,4 +115,9 @@ jobs:
|
|||
run: nix develop -c pesde install --locked
|
||||
|
||||
- name: Run tests
|
||||
run: nix develop -c lune run tests
|
||||
shell: nix develop -c bash
|
||||
run: |
|
||||
# HACK: Since the exit code isn't properly reflected due to frktest not returning
|
||||
# the correct status on test fails, we have to parse the output and check ourselves
|
||||
output="$(lune run tests extract | tee /dev/tty)"
|
||||
tail -n 1 <<< $output | sed 's/\x1b\[[0-9;]*m//g' | grep -q "status: OK"
|
||||
|
|
Loading…
Add table
Reference in a new issue