From e49cfb1d2b604731bc444438e0156df05987350b Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sat, 21 Aug 2021 14:44:59 -0400 Subject: [PATCH] another attempt --- .github/workflows/main.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 716457b6f..c0c2fc5c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,6 +48,10 @@ jobs: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} restore-keys: ${{ runner.os }}-pip- + - id: os-name + uses: ASzc/change-string-case-action@v1 + with: + string: ${{ runner.os }} - run: pip install --user --upgrade pip wheel - if: startsWith(runner.os, 'linux') run: pip install -e .[torrent,test] @@ -63,12 +67,12 @@ jobs: run: coverage run --source=lbry -m unittest tests/unit/test_conf.py - name: submit coverage report env: - GITHUB_TOKEN: ${{ secrets.github_token }} - COVERALLS_FLAG_NAME: tests-unit-${{ runner.os }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_FLAG_NAME: tests-unit-${{ steps.os-name.outputs.lowercase }} COVERALLS_PARALLEL: true run: | pip install coveralls - coveralls -v --service=github + coveralls --service=github tests-integration: name: "tests / integration" @@ -114,10 +118,10 @@ jobs: steps: - name: finalize coverage report submission env: - GITHUB_TOKEN: ${{ secrets.github_token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pip install coveralls - coveralls -v --service=github --finish + coveralls --service=github --finish build: needs: ["lint", "tests-unit", "tests-integration"]