Skip to content

Commit

Permalink
ci: Make q available on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Sep 9, 2020
1 parent 5eaf124 commit 2dc0452
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ jobs:
# name: windows-latest-artifact
# path: _release/platform-windows-x64

- name: Publish q from linux artifcats
run: |
cp _release/platform-linux-x64/q.exe ./q
chmod +x q
- name: Create archives for Github release
run: |
cd _release/platform-darwin-x64
Expand Down
3 changes: 1 addition & 2 deletions e2e/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
function q () {
if [[ ! -z $IS_CI ]]; then
echo "Running in CI mode"
chmod +x $BATS_TEST_DIRNAME/../_release/platform-linux-x64/q
run "$BATS_TEST_DIRNAME/../_release/platform-linux-x64/q" "$@"
run q "$@"
else
chmod +x "$BATS_TEST_DIRNAME/../_build/default/bin/q.exe"
run "$BATS_TEST_DIRNAME/../_build/default/bin/q.exe" "$@"
Expand Down

0 comments on commit 2dc0452

Please sign in to comment.