Skip to content

Commit

Permalink
try a different pytest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eagmon committed Dec 10, 2024
1 parent fd2d7a8 commit f1a4cab
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
name: Tests
name: Run Pytest

on:
push:
branches: [main]
pull_request:
branches: [main]
branches:
- main

jobs:
run-tests:
test:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@main
with:
ref: main
fetch-depth: 0
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@main
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nbconvert pytest pytest-cov
pip install pytest pytest-cov
pip install -e .
- name: Test with pytest
- name: Run pytest
run: |
pip install pytest
pytest --cov=process_bigraph
pytest --cov=process_bigraph --cov-report=term

0 comments on commit f1a4cab

Please sign in to comment.