34 lines
527 B
YAML
34 lines
527 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- macos-latest
|
|
test_shell:
|
|
- bash
|
|
- zsh
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Test
|
|
uses: sudo-bot/action-shunit2@latest
|
|
env:
|
|
TEST_SHELLS: ${{ matrix.test_shell }}
|
|
with:
|
|
cli: ./run_tests.sh
|