Dependabot/coverage (#240)

This commit is contained in:
Philipp Horstenkamp 2023-10-19 18:47:32 +02:00 committed by GitHub
parent b92be60789
commit a358ebe9c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: