diff --git a/.github/workflows/test-and-build-action.yaml b/.github/workflows/test-and-build-action.yaml index 98a1438..b711fd3 100644 --- a/.github/workflows/test-and-build-action.yaml +++ b/.github/workflows/test-and-build-action.yaml @@ -2,14 +2,8 @@ name: Test & Build on: push: - branches: - - '*' - - '!dependabot/**' pull_request: types: [reopened, opened, synchronize] - branches: - - '*' - - '!dependabot/**' release: types: - created @@ -26,10 +20,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.11 - - name: Install Cuda + - name: Install APT run: | sudo apt update -# sudo apt install cuda-10-0 -y - name: Install and configure Poetry uses: snok/install-poetry@v1 with: @@ -60,7 +53,7 @@ jobs: if-no-files-found: error coverage_pull_request: - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && !startsWith(github.ref, 'refs/heads/dependabot/')}} runs-on: ubuntu-latest needs: test steps: @@ -112,7 +105,7 @@ jobs: path: htmlcov/ build: - if: ${{ github.event_name == 'push' }} && !startsWith(github.ref, 'refs/heads/dependabot/') + if: ${{ github.event_name == 'push'}} runs-on: ubuntu-latest needs: test steps: @@ -141,7 +134,7 @@ jobs: path: dist/ docker-build: - if: ${{ github.event_name == 'push' }} && !startsWith(github.ref, 'refs/heads/dependabot/') + if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/dependabot/')}} runs-on: ubuntu-latest needs: [build] steps: