mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-06 01:47:27 +02:00
Dependabot/coverage (#240)
This commit is contained in:
parent
b92be60789
commit
a358ebe9c1
15
.github/workflows/test-and-build-action.yaml
vendored
15
.github/workflows/test-and-build-action.yaml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user