Skip to content

Commit

Permalink
Regression testing (#339)
Browse files Browse the repository at this point in the history
Make sure builds pass on the swoop and spin projects using CI, so we can id any breaking changes earlier

Co-authored-by: Matt Wildoer <mawildoer@gmail.com>
  • Loading branch information
napowderly and mawildoer committed May 15, 2024
1 parent b9c69f1 commit 105777a
Showing 1 changed file with 41 additions and 0 deletions.
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

0 comments on commit 105777a

Please sign in to comment.