Skip to content

Commit

Permalink
Merge pull request #8 from feldroy/audreyfeldroy/add-github-action-tox
Browse files Browse the repository at this point in the history
Create a GitHub Actions workflow for running tests with Tox
  • Loading branch information
audreyfeldroy committed Jul 7, 2024
2 parents 31670b1 + 7bc50a5 commit 41fb9d0
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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: Python Setup Rye
uses: eifinger/[email protected]

- name: Install dependencies
run: rye sync

- name: Run tests
run: rye run tox

0 comments on commit 41fb9d0

Please sign in to comment.