Skip to content

Commit

Permalink
add github actions steps summary from test results
Browse files Browse the repository at this point in the history
  • Loading branch information
avaris committed Nov 3, 2023
1 parent dc1b6ab commit 78fcece
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
pandoc --version | head -2
- name: Run tests
run: tox -e py${{ matrix.python }}
- name: Generate summary
run: cat _coverage_report.md >> $GITHUB_STEP_SUMMARY

lint:
name: Lint
Expand Down
1 change: 1 addition & 0 deletions requirements/test.pip
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Pygments==2.14.0
pytest
pytest-cov
pytest-md-report
pytest-xdist[psutil]
tzdata

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ deps =

commands =
{envpython} --version
pytest -s --cov=pelican pelican
pytest -s --cov=pelican --md-report --md-report-flavor gfm --md-report-output _coverage_report.md pelican

[testenv:docs]
basepython = python3.9
Expand Down

0 comments on commit 78fcece

Please sign in to comment.