From 34dc05a265ac79082402be6775d1e5822e2cc95e Mon Sep 17 00:00:00 2001 From: tarepan Date: Sat, 23 Mar 2024 07:49:23 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=E3=82=AB=E3=83=90=E3=83=AC?= =?UTF-8?q?=E3=83=83=E3=82=B8=E9=96=A2=E4=BF=82=20workflow=20step=20?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E7=B5=B1=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 343b2020d..ce04bd6c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: