This commit is contained in:
Price Hiller 2021-10-06 07:05:57 -05:00
parent af3b5f3c5d
commit aa62058bc2

View File

@ -1,5 +1,5 @@
default:
image: python:3.9
image: python:3.9-alpine
before_script:
- apk add build-base
- apk add --no-cache postgresql-libs
@ -8,13 +8,12 @@ default:
- apk --purge del .build-deps
stages: # List of stages for jobs, and their order of execution
- Build Wheel
- Test
- test
- build
pylint:
stage: Test
image: python:3.9-alpine
stage: test
script:
- python3.9 -m pip install pylint pylint-exit anybadge
- mkdir ./pylint
@ -28,8 +27,8 @@ pylint:
build-job: # This job runs in the build stage, which runs first.
stage: Build Wheel
stage: build
script:
- echo "Attempting to build distribution wheel"
- python -m build --wheel
- echo "Wheel successfully built!"
- echo "Wheel successfully built!"