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:
- "Documentation"
- deploy
.nox-base:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
tags:
- docker
linter:
extends: .nox-base
stage: "Code Quality"
needs: []
except:
variables:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
script:
- nox --session lint
tags:
- docker
typechecker:
extends: .nox-base
stage: "Code Quality"
needs: []
except:
variables:
- $ENABLE_NIGHTLY_BUILDS
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
script:
- nox --session typecheck
tags:
- docker
testsuite:
extends: .nox-base
stage: "Tests"
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
needs: []
tags:
- docker
script:
- nox --session testsuite
coverage: '/TOTAL.*\s+(\d+%)$/'
......@@ -48,19 +41,17 @@ testsuite:
path: coverage.xml
build-documentation:
extends: .nox-base
stage: "Documentation"
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/nox
needs: []
script:
- nox --session docs
tags:
- docker
artifacts:
paths:
- docs/build/html
pages:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full
image: alpine:latest
stage: deploy
script:
- ls -l
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment