diff --git a/.github/workflows/python-lint-and-test.yml b/.github/workflows/python-lint-and-test.yml index 27e605e..20aac0c 100644 --- a/.github/workflows/python-lint-and-test.yml +++ b/.github/workflows/python-lint-and-test.yml @@ -1,13 +1,17 @@ name: Python tests + deploy +# on: +# push: +# branches: +# - main +# tags: +# - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 +# pull_request: +# branches: +# - main on: push: - branches: - - main tags: - - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 - pull_request: - branches: - - main + - "v*" jobs: test: @@ -51,7 +55,8 @@ jobs: # github secrets (see readme for details) needs: [test] runs-on: ubuntu-latest - if: contains(github.ref, 'tags') + # if: contains(github.ref, 'tags') + if: false steps: - uses: actions/checkout@v4 - name: Set up Python @@ -75,8 +80,8 @@ jobs: create-github-release: name: Create GitHub Release if: startsWith(github.ref, 'refs/tags') - needs: [test, build-and-deploy] - runs-on: ubuntu-latest + needs: [test] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Create GitHub Release with Notes