From f2662c65f3f373aeed7fd14ba35167817b8f5fd2 Mon Sep 17 00:00:00 2001 From: Walt Della Date: Wed, 20 Sep 2023 13:00:23 -0700 Subject: [PATCH] Adjust CI for teleport's needs. We no longer publish to pypi, or run tests against a live AWS account. --- .github/workflows/teleport-ci.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/teleport-ci.yml b/.github/workflows/teleport-ci.yml index d44439b..a307df9 100644 --- a/.github/workflows/teleport-ci.yml +++ b/.github/workflows/teleport-ci.yml @@ -2,11 +2,9 @@ on: pull_request: branches: - teleport - - master push: branches: - teleport - - master tags: - "*" @@ -21,15 +19,10 @@ jobs: python-version: "3.8" - name: install run: pip install . - - name: run all checks - if: ${{ false }} - run: aws-quota-checker check all - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: eu-central-1 + - name: build package + run: python setup.py bdist_wheel - publish: + release: runs-on: ubuntu-latest needs: test if: success() && github.event_name == 'push' && startsWith(github.ref, 'refs/tags') @@ -46,11 +39,6 @@ jobs: run: python tools/extract-changelog-entry.py ${GITHUB_REF#refs/tags/} > changelog_entry - name: build package run: python setup.py bdist_wheel - - name: publish package - uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} - name: create Release uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1 env: