Skip to content

Commit

Permalink
ci: update when tests run and their names
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart committed Oct 17, 2024
1 parent 9458931 commit d253db2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Continuous Integration - Full Test Target Suite
name: Test OSes and Python versions

on:
push:
tags:
- '*'
pull_request:
paths:
- src/**
- tests/**
branches:
- main
tags:
- '*'
pull_request:
workflow_dispatch:

defaults:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/continuous-testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Continuous Integration - Rapid Test
name: Tests

on:
push:
Expand Down Expand Up @@ -56,13 +56,14 @@ jobs:
run: |
echo '### Run tests' >> $GITHUB_STEP_SUMMARY
echo '```bash' >> $GITHUB_STEP_SUMMARY
python3 -m pytest --nbmake --no-cov-on-fail --disable-warnings --cov=sansmic --cov=tests --cov-report= --no-header --color=auto examples/ tests/ | tee -a $GITHUB_STEP_SUMMARY
python3 -m pytest --nbmake --no-cov-on-fail --disable-warnings --cov=sansmic --cov=tests --no-header --color=auto examples/ tests/ | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
- name: Generate coverage report
run: |
echo '### Coverage report' >> $GITHUB_STEP_SUMMARY
coverage report --fail-under=80 --format markdown >> $GITHUB_STEP_SUMMARY
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ matrix.os }}

- name: Test uninstall
run: python3 -m pip uninstall -y sansmic

0 comments on commit d253db2

Please sign in to comment.