Skip to content

Commit

Permalink
Update and rename unit-test.yml to run-pytest.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Bordt <[email protected]>
  • Loading branch information
sbordt authored May 27, 2024
1 parent 2837b07 commit 6fd38ec
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: tests

on: [push]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

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 pip and package
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
- name: Run tests
run: |
pytest
29 changes: 0 additions & 29 deletions .github/workflows/unit-test.yml

This file was deleted.

0 comments on commit 6fd38ec

Please sign in to comment.