Skip to content
Snippets Groups Projects
Commit e8874138 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

clean up CI config

parent 7b79ba1c
No related branches found
No related tags found
1 merge request!10Introduce Nox for Test Automation
Pipeline #71684 passed
...@@ -4,36 +4,29 @@ stages: ...@@ -4,36 +4,29 @@ stages:
- "Documentation" - "Documentation"
- deploy - deploy
.nox-base:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
tags:
- docker
linter: linter:
extends: .nox-base
stage: "Code Quality" stage: "Code Quality"
needs: [] needs: []
except:
variables:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
script: script:
- nox --session lint - nox --session lint
tags:
- docker
typechecker: typechecker:
extends: .nox-base
stage: "Code Quality" stage: "Code Quality"
needs: [] needs: []
except:
variables:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
script: script:
- nox --session typecheck - nox --session typecheck
tags:
- docker
testsuite: testsuite:
extends: .nox-base
stage: "Tests" stage: "Tests"
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
needs: [] needs: []
tags:
- docker
script: script:
- nox --session testsuite - nox --session testsuite
coverage: '/TOTAL.*\s+(\d+%)$/' coverage: '/TOTAL.*\s+(\d+%)$/'
...@@ -48,19 +41,17 @@ testsuite: ...@@ -48,19 +41,17 @@ testsuite:
path: coverage.xml path: coverage.xml
build-documentation: build-documentation:
extends: .nox-base
stage: "Documentation" stage: "Documentation"
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
needs: [] needs: []
script: script:
- nox --session docs - nox --session docs
tags:
- docker
artifacts: artifacts:
paths: paths:
- docs/build/html - docs/build/html
pages: pages:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full image: alpine:latest
stage: deploy stage: deploy
script: script:
- ls -l - ls -l
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment