Merge pull request #242 from apotterri/env-bash_20240112 #778
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
name: Tests | |
jobs: | |
tests: | |
name: "Run tests on ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest'] | |
include: | |
- os: windows-latest | |
script_name: 'bash -c "./bashunit tests/**/*_test.sh"' | |
- os: ubuntu-latest | |
script_name: 'make test' | |
- os: macos-latest | |
script_name: 'make test' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Tests" | |
run: ${{ matrix.script_name }} | |