Skip to content

Commit

Permalink
Add pytest to action
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-r committed Dec 28, 2023
1 parent e16cb9d commit 05712a2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,19 @@ jobs:
uses: "hacs/action@main"
with:
category: "integration"
pytest:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: asdf_install
uses: asdf-vm/actions/install@v1
- name: Install Python modules
run: |
pip install -r requirements.test.txt
- name: Run unit tests
run: |
python -m pytest tests

0 comments on commit 05712a2

Please sign in to comment.