Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Release #46

Merged
merged 16 commits into from
Feb 29, 2024
Prev Previous commit
Next Next commit
Adds Pytest action
  • Loading branch information
klpanagi committed Feb 15, 2024
commit 3901a2297be58cdd5369483640350174c2fd42aa
30 changes: 30 additions & 0 deletions .github/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Pytest

on:
push:
branches: [ "devel", "master" ]
pull_request:
branches: [ "devel", "master" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: Test with pytest
run: |
pytest
Loading