Skip to content

Commit

Permalink
update coverage badage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yunline committed Dec 11, 2023
1 parent 5a6dd6f commit cdaf3fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage_badage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
- uses: actions/[email protected]
- uses: "actions/setup-python@v2"
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install and run test"
run: |
python3 -m pip install -r requirements-dev.txt
python3 -m pip install .
python3 -m coverage run --source=oneliner -m tests
- name: "Get coverage"
id: total
run: |
python3 -m coverage run --source=oneliner -m tests
echo "total=$(python3 -m coverage report --format=total)" >> $GITHUB_ENV
- name: Create Coverage Badge
Expand Down

0 comments on commit cdaf3fd

Please sign in to comment.