From c3b9713ec11965ad1c978ba846323a0d998ec85a Mon Sep 17 00:00:00 2001 From: Niklas Rosenstein Date: Fri, 20 Aug 2021 15:02:06 +0200 Subject: [PATCH] fix CI for publishing --- .github/workflows/python.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 608089de..5c78f7d7 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -23,12 +23,6 @@ jobs: run: | python -m pip install . --upgrade pip pip install flake8 pytest pytest-cov pylint - #- name: Lint with flake8 - # run: | - # # stop the build if there are Python syntax errors or undefined names - # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Lint with pylint (allow errors) run: | pylint src || true @@ -55,6 +49,6 @@ jobs: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} TEST_PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }} run: | - shut pkg update --verify-tag "$CIRCLE_TAG" + shut pkg update --verify-tag "$GITHUB_REF" shut pkg publish warehouse:pypi --test shut pkg publish warehouse:pypi