Skip to content

Commit

Permalink
CI: Add basic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed May 3, 2024
1 parent d837cdc commit 4153348
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: tests

on: [push, pull_request]

jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[tests]
- name: Test with pytest
run: |
pytest

0 comments on commit 4153348

Please sign in to comment.