Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,21 @@ on:
- main
jobs:
Test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: ./tests/_run.sh
- name: Install newer bash on macOS
if: matrix.os == 'macos-latest'
run: brew install bash
- name: Run tests
run: |
if [[ "$(uname)" == "Darwin" ]]; then
/opt/homebrew/bin/bash ./tests/_run.sh
else
bash ./tests/_run.sh
fi
- run: echo "🍏 This job's status is ${{ job.status }}."
Loading