Skip to content

Commit

Permalink
Tried add simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 10, 2024
1 parent c816dbf commit 150fce4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,26 @@ jobs:
with:
name: build
path: dist/*

test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "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 }}
- run: pip install --user requirements/dev.txt
- run: python -m pytest --junitxml=test_report.xml
- name: Upload test report
uses: actions/upload-artifact@v3
with:
name: test
path: test_report.xml



0 comments on commit 150fce4

Please sign in to comment.