-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |