Skip to content

Commit

Permalink
ci: put back pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
gaige committed Jun 29, 2024
1 parent 8e74013 commit 9690d72
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Run tox in this environment
- name: Installation (deps and package)
# we install with flit --pth-file,
# so that coverage will be recorded for the module
run: |
pip install flit
flit install --deps=production --extras=test --pth-file
- name: Run pytest
run: |
pytest --cov=mdformat_pelican --cov-report=xml --cov-report=term-missing
- name: Run pytest with mdformat-gfm
run: |
python -m pip install tox
tox
pip install mdformat-gfm
pytest --cov=mdformat_pelican --cov-report=xml --cov-report=term-missing
pre-commit-hook:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9690d72

Please sign in to comment.