Skip to content

Commit

Permalink
Merge pull request #73 from Johnserf-Seed/main
Browse files Browse the repository at this point in the history
merge Codecov.yml main -> v0.0.1.6-pw2
  • Loading branch information
Johnserf-Seed authored Apr 8, 2024
2 parents 6eb608c + d487240 commit 0c68e36
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/Codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Workflow for Codecov f2
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: |
pip install pytest
pip install pytest-cov
pip install -e .
- name: Run tests and collect coverage
run: pytest --cov=./ --cov-report=xml

- name: Run ATS
uses: codecov/codecov-ats@v0
env:
CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
slug: Johnserf-Seed/f2
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 0c68e36

Please sign in to comment.