diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 75ef926..acfb368 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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