Skip to content

Merge pull request #7 from torchbox-forks/torchbox-forks/release-prep #28

Merge pull request #7 from torchbox-forks/torchbox-forks/release-prep

Merge pull request #7 from torchbox-forks/torchbox-forks/release-prep #28

Workflow file for this run

name: Tests
on:
pull_request:
branches: [master]
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
id: install-dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
id: test-with-tox
run: |
tox