mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
intentionally fail the ci
This commit is contained in:
parent
714d60b092
commit
6f17a85b91
4
.github/workflows/jq.yml
vendored
4
.github/workflows/jq.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
# TODO: this step takes ~2m, consider using https://github.com/marketplace/actions/cargo-install
|
||||
- name: Install jaq
|
||||
run: |
|
||||
cargo install --locked --git https://github.com/01mf02/jaq
|
||||
@ -33,6 +34,7 @@ jobs:
|
||||
|
||||
- name: Expect texttest fixture output
|
||||
working-directory: jq
|
||||
# intentionally fail this step to be in the red
|
||||
run: |
|
||||
jaq --arg days 10 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)" |
|
||||
jaq --arg days 9 -nr "$(cat gilded-rose.jq) $(cat texttest_fixture.jq)" |
|
||||
diff - texttest-10-day-result
|
||||
|
||||
Loading…
Reference in New Issue
Block a user