From 93d054591ba8fb9882cefbe7f517500f2e0903ed Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Sat, 21 Nov 2020 16:19:52 +0800 Subject: [PATCH] ci: fix github action --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3efd225..d35ede6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,14 +19,14 @@ jobs: - name: Test && Publish env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: - - coverage run -m pytest - - coverage run -a ./update.py --release + run: | + coverage run -m pytest + coverage run -a ./update.py --release - name: Report coverage env: CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} - run: - - coverage xml && coverage report - - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - - chmod +x ./cc-test-reporter - - ./cc-test-reporter after-build + run: | + coverage xml && coverage report + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + ./cc-test-reporter after-build