mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-06 03: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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
- '!dependabot/**'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [reopened, opened, synchronize]
|
types: [reopened, opened, synchronize]
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
- '!dependabot/**'
|
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- created
|
||||||
@ -26,10 +20,9 @@ jobs:
|
|||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.11
|
python-version: 3.11
|
||||||
- name: Install Cuda
|
- name: Install APT
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
# sudo apt install cuda-10-0 -y
|
|
||||||
- name: Install and configure Poetry
|
- name: Install and configure Poetry
|
||||||
uses: snok/install-poetry@v1
|
uses: snok/install-poetry@v1
|
||||||
with:
|
with:
|
||||||
@ -60,7 +53,7 @@ jobs:
|
|||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
coverage_pull_request:
|
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
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
needs: test
|
||||||
steps:
|
steps:
|
||||||
@ -112,7 +105,7 @@ jobs:
|
|||||||
path: htmlcov/
|
path: htmlcov/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
if: ${{ github.event_name == 'push' }} && !startsWith(github.ref, 'refs/heads/dependabot/')
|
if: ${{ github.event_name == 'push'}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
needs: test
|
||||||
steps:
|
steps:
|
||||||
@ -141,7 +134,7 @@ jobs:
|
|||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
docker-build:
|
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
|
runs-on: ubuntu-latest
|
||||||
needs: [build]
|
needs: [build]
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user