Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
ci: move pytest to ci.yml (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored May 12, 2024
1 parent fb3d40c commit 2d6b9f0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 43 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,26 @@ jobs:
run: |
python -u ./scripts/build.py
- name: Test with pytest
id: test
shell: bash
run: |
python -m pytest \
-rxXs \
--tb=native \
--verbose \
--cov=gsms \
tests
- name: Upload coverage
# any except cancelled or skipped
if: always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure')
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

- name: Upload Artifacts
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
uses: actions/upload-artifact@v4
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/python-tests.yml

This file was deleted.

0 comments on commit 2d6b9f0

Please sign in to comment.