Skip to content

Commit

Permalink
Add a test suite runner
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Feb 9, 2024
1 parent ffe2fbc commit 4adf9e7
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: nobodd-test-suite

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
python: "3.7"
experimental: false
- os: ubuntu-20.04
python: "3.8"
experimental: false
- os: ubuntu-20.04
python: "3.9"
experimental: false
- os: ubuntu-22.04
python: "3.10"
experimental: false
- os: ubuntu-22.04
python: "3.11"
experimental: false
- os: ubuntu-22.04
python: "3.12"
experimental: false

runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Install Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Checkout nobodd
uses: actions/checkout@v3

- name: Install dependencies
run: |
make develop
- name: Run tests
run: |
make test

0 comments on commit 4adf9e7

Please sign in to comment.