Skip to content

Create a GitHub Actions workflow for running tests with Tox #1

Create a GitHub Actions workflow for running tests with Tox

Create a GitHub Actions workflow for running tests with Tox #1

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: rye sync
- name: Run tests
run: rye run tox