Skip to content

Merge branch 'dev'

Merge branch 'dev' #24

Workflow file for this run

# This workflow runs the regression tests on push to validate the changes made
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Push-enabled regression test
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.11.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Run tests
run: |
python test/regression/run_regression_test.py
if [ $? -eq 0 ]; then
echo "Push accepted"
else
echo "Push rejected"
exit 1
fi