Skip to content

Commit

Permalink
chore(ci): setup zsh in gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Jun 19, 2022
1 parent 27923c6 commit 615f826
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
Expand All @@ -23,8 +26,21 @@ jobs:
with:
deno-version: ${{ matrix.deno }}

- name: Setup zsh
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install zsh -y

- name: Print Versions
run: |
which deno
deno --version
which bash
bash --version
which zsh
zsh --version
- name: Run tests
run: deno test --coverage=./cov --unstable --shuffle --allow-all --jobs 8
run: deno test --coverage=./cov --unstable --shuffle --allow-all --jobs 8 --trace-ops

- name: Generate lcov
run: deno coverage --unstable --lcov ./cov > cov.lcov
Expand Down

0 comments on commit 615f826

Please sign in to comment.