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 aed5a82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
pandoc-version: "2.9.2"
- name: Install tox
run: python -m pip install -U pip tox
run: python -m pip install -U pip tox coverage
- name: Info
run: |
echo "===== PYTHON ====="
Expand All @@ -47,6 +47,11 @@ jobs:
pandoc --version | head -2
- name: Run tests
run: tox -e py${{ matrix.python }}
- name: Generate summary
if: startsWith(runner.os, 'Linux') && matrix.python=='3.12'
run: |
echo "# Coverage report" >> $GITHUB_STEP_SUMMARY
coverage report --format=markdown >> $GITHUB_STEP_SUMMARY
lint:
name: Lint
Expand Down

0 comments on commit aed5a82

Please sign in to comment.