Skip to content

Commit

Permalink
CI: Run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Nov 23, 2022
1 parent d84aabd commit 6ae487c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/tests.yaml
@@ -0,0 +1,25 @@
name: tests

on: [push, pull_request]

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

steps:
- uses: actions/checkout@v3
- 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
pip install .[tests]
- name: Test with pytest
run: |
pytest -v

0 comments on commit 6ae487c

Please sign in to comment.