fork/mons

git clone https://git.julia.blue/fork/mons

coloursofnoiseDrop support for python 3.7, update tests to latest versionse19689a

fixes
1.3 KiB39 linesraw
1name: Run Automated Tests
2
3on:
4  push:
5    branches: ['*']
6  pull_request:
7  workflow_call:
8
9jobs:
10  test:
11    name: ${{ matrix.name }}
12    runs-on: ${{ matrix.os }}
13    strategy:
14      fail-fast: false
15      matrix:
16        include:
17          - {name: Linux, python: '3.11', os: ubuntu-latest, tox: py311}
18          - {name: Windows, python: '3.11', os: windows-latest, tox: py311}
19          - {name: Mac, python: '3.11', os: macos-latest, tox: py311}
20          - {name: '3.10', python: '3.10', os: ubuntu-latest, tox: py310}
21          - {name: '3.12-dev', python: '3.12-dev', os: ubuntu-latest, tox: py312}
22          - {name: '3.9', python: '3.9', os: ubuntu-latest, tox: py39}
23          - {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
24          - {name: 'PyPy', python: 'pypy3.10', os: ubuntu-latest, tox: pypy310}
25
26    steps:
27      - uses: actions/checkout@v3
28      - name: Set up Python ${{ matrix.python }}
29        uses: actions/setup-python@v4
30        with:
31          python-version: ${{ matrix.python }}
32          cache: 'pip'
33          cache-dependency-path: 'requirements-dev.txt'
34      - name: Install dependencies
35        run: |
36          python -m pip install --upgrade pip
37          python -m pip install tox
38      - name: Run tests with tox
39        run: tox -e ${{ matrix.tox }}