summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-12-03 16:17:30 -0500
committerDan Davison <dandavison7@gmail.com>2020-12-03 16:17:46 -0500
commit5e5913132971d7979bfad7a006ae84be0ccd6377 (patch)
tree4f1d37c12808d6d0f4d28bc8543eaf108b4690a6
parent45a04108edb27c8a5113c4514d21905e09b923a4 (diff)
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0d1cc428..aa2b7e70 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -30,8 +30,9 @@ jobs:
args: --target ${{ matrix.target }} --release
- name: End to end tests
run: >-
- ./tests/test_raw_output_matches_git_on_full_repo_history target/${{ matrix.target }}/release/delta;
- ./tests/test_deprecated_options target/${{ matrix.target }}/release/delta > /dev/null
+ DELTA_BIN=target/${{ matrix.target }}/release/delta
+ ./tests/test_raw_output_matches_git_on_full_repo_history $DELTA_BIN &&
+ ./tests/test_deprecated_options $DELTA_BIN > /dev/null
- name: Run executable
run: cargo run --release --target ${{ matrix.target }} -- < /dev/null