diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5de82f0f024d5c7cb0ab9b2d063521ee403065d..731b9cf3187ace58601e9a21cdd923fb91097ecd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,30 +3,27 @@ stages: - test - docker -py310: - image: python:3.10 +.test: tags: - - lightweight + - heavyweight script: - pip install .[test] - python setup.py build sdist bdist - - pytest --junit-xml=test-results.xml + - pytest --junit-xml=test-results.xml -v artifacts: reports: junit: test-results.xml +py310: + image: python:3.10 + extends: + - .test + py311: - allow_failure: true image: python:3.11 - tags: - - lightweight - script: - - pip install .[test] - - python setup.py build sdist bdist - - pytest --junit-xml=test-results.xml - artifacts: - reports: - junit: test-results.xml + extends: + - .test + allow_failure: true codestyle: allow_failure: true