Skip to content

Commit

Permalink
Re-enable tests and set doc publish branch to master
Browse files Browse the repository at this point in the history
  • Loading branch information
obackhouse committed Aug 9, 2024
1 parent 33016aa commit 2efd108
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ jobs:
python -m isort ebcc/ --diff --check-only --verbose
python -m flake8 ebcc/ --verbose
python -m mypy ebcc/ --verbose
#- name: Run unit tests with coverage
# run: |
# python -m pip install pytest pytest-cov
# pytest --cov ebcc/
# if: matrix.coverage
#- name: Run unit tests
# run: |
# python -m pip install pytest
# pytest
# if: ${{ ! matrix.coverage }}
- name: Run unit tests with coverage
run: |
python -m pip install pytest pytest-cov
pytest --cov ebcc/
if: matrix.coverage
- name: Run unit tests
run: |
python -m pip install pytest
pytest
if: ${{ ! matrix.coverage }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand All @@ -61,4 +61,4 @@ jobs:
if: matrix.coverage
- name: Deploy documentation
run: mkdocs gh-deploy --force -f docs/mkdocs.yaml
if: matrix.documentation #&& github.ref == 'refs/heads/master'
if: matrix.documentation && github.ref == 'refs/heads/master'

0 comments on commit 2efd108

Please sign in to comment.