Skip to content

Commit

Permalink
ci(gitlab-ci): create 'codestyle' and 'test' job for 'gcil' usage
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian DC <[email protected]>
  • Loading branch information
AdrianDC committed Aug 25, 2024
1 parent 968a900 commit d4d089e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
stages:
- prepare
- test

codestyle:
stage: prepare
image: python:3.12
variables:
POETRY_VIRTUALENVS_CREATE: false
before_script:
# Install dependencies
- pip install poetry
- poetry install
script:
# Format sources
- ./scripts/format

tests:
stage: test
image: python:3.12
variables:
POETRY_VIRTUALENVS_CREATE: false
before_script:
# Install dependencies
- pip install poetry
- poetry install
script:
# Format sources
- ./scripts/format
# Run tests
- ./scripts/test

0 comments on commit d4d089e

Please sign in to comment.