Skip to content

Commit

Permalink
Clean up .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GereonV committed Sep 17, 2024
1 parent a1018ef commit b2e0aa7
Showing 1 changed file with 21 additions and 25 deletions.
46 changes: 21 additions & 25 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,31 @@
default:
image: ubuntu:latest
before_script: |
apt-get update
apt-get install -y python3-venv make
build:
stage: build
image: ubuntu:latest
script: |
apt update
apt install -y python3-venv make
make build
script: make build
test:
stage: build
image: ubuntu:latest
script: |
apt update
apt install -y python3-venv make
make test
script: make test
mypy:
stage: build
image: ubuntu:latest
script: |
apt update
apt install -y python3-venv make
make mypy
script: make mypy
flake8:
stage: build
image: ubuntu:latest
script: |
apt update
apt install -y python3-venv make
make flake8
script: make flake8
artifacts:
paths:
- dist/

run:
stage: test
image: ubuntu:latest
script: |
apt update
apt install -y python3-venv make
make run
script: make run
install:
stage: test
before_script: |
apt-get update
apt-get install -y python3-pip
script: pip install --user dist/*.whl

0 comments on commit b2e0aa7

Please sign in to comment.