diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ca1dd65 --- /dev/null +++ b/.github/workflows/test.yml @@ -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