Skip to content

Commit

Permalink
refactor: カバレッジ関係 workflow step 命名統一
Browse files Browse the repository at this point in the history
  • Loading branch information
tarepan committed Mar 23, 2024
1 parent 8413dad commit 34dc05a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,20 @@ jobs:
run: |
coverage run --omit=test/* -m pytest
- name: Submit coverage to Coveralls
- name: Test coverage and Deploy the results to Coveralls
if: matrix.os == 'ubuntu-20.04'
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create coverage result
- name: Deploy coverage report to local files
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-20.04'
run: |
mkdir report
coverage report > report/report.txt
echo ${{ github.event.number }} > report/pr_num.txt
- name: Upload coverage result
- name: Deploy coverage report to GitHub
if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 34dc05a

Please sign in to comment.