Skip to content

Run test scripts in GitHub Actions #2

Run test scripts in GitHub Actions

Run test scripts in GitHub Actions #2

Workflow file for this run

name: "Run tests"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests:
runs-on: ubuntu-latest
name: "tests"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install all dependencies
run: pip install .
- name: Run tests
run: ret=0; for i in tests/*.sh; do ./$i || ret=$?; done; exit $ret