Update .gitlab-ci.yml

This commit is contained in:
Price Hiller 2021-10-06 12:06:46 +00:00
parent af3b5f3c5d
commit 186fbac4f8

View File

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