Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add regression tests #339

Merged
merged 16 commits into from
May 15, 2024
41 changes: 41 additions & 0 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Continuous Integration

on: push

jobs:
regression_tests:
runs-on: ubuntu-latest
env:
ATO_NON_INTERACTIVE: '1'
strategy:
fail-fast: false
matrix:
repo:
- 'atopile/swoop'
- 'atopile/spin-servo-drive'

steps:
- uses: actions/checkout@v4
# Required due to a bug in the checkout action
# https://github.com/actions/checkout/issues/1471
- run: git fetch --prune --unshallow --tags

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: pip install .

- name: Checkout circuit repository
uses: actions/checkout@v4
with:
repository: ${{ matrix.repo }}
path: 'circuit_repo'
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build circuits
run: |
cd circuit_repo
ato build
Loading