From e956cd7856ff8c667751d98cc88ca2b037c7df8a Mon Sep 17 00:00:00 2001 From: Martin Bernstorff Date: Tue, 7 Mar 2023 14:31:26 +0000 Subject: [PATCH] ci: remove old test and release --- .github/workflows/main_test_and_release.yml | 55 --------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/workflows/main_test_and_release.yml diff --git a/.github/workflows/main_test_and_release.yml b/.github/workflows/main_test_and_release.yml deleted file mode 100644 index 264a61f3..00000000 --- a/.github/workflows/main_test_and_release.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: test-and-release - -on: - pull_request: - push: - branches: - - main - -jobs: - test: - runs-on: ${{ matrix.os }} - env: - poetry-version: 1.1.15 - cache-version: 0.0.3 - python-version: 3.9 - - strategy: - matrix: - os: [ubuntu-latest] - - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Run tests - uses: ./.github/actions/test - with: - python-version: ${{ env.python-version }} - poetry-version: ${{ env.poetry-version }} - cache-version: ${{ env.cache-version }} - - release: - runs-on: ubuntu-latest - concurrency: release - needs: test - if: ${{ github.ref == 'refs/heads/main' }} - steps: - # Checkout action is required for token to persist - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - token: ${{ secrets.RELEASE_BOT }} - - - name: Python Semantic Release - uses: relekang/python-semantic-release@v7.33.1 - with: - github_token: ${{ secrets.RELEASE_BOT }} - # Remember to copy the tool.semantic_release section from pyproject.toml - # as well - # To enable pypi, - # 1) Set upload_to_pypi to true in pyproject.toml and - # 2) Set the pypi_token in the repo - # 3) Uncomment the two lines below - # repository_username: __token__ - # repository_password: ${{ secrets.PYPI_TOKEN }}