Skip to content
Snippets Groups Projects
Commit a8df683c authored by Brandon Piotrzkowski's avatar Brandon Piotrzkowski
Browse files

Add tests for various python versions; fixes #32

parent f64f421d
No related branches found
No related tags found
1 merge request!96Add tests for various python versions; fixes #32
Pipeline #514791 passed with warnings
......@@ -12,14 +12,13 @@ stages:
- test
- deploy
image: python:3.8
.install-cython: &install-cython
${PYTHON} -m pip install cython
# Build Python packages
build:
image: python:3.9
stage: build
script:
- python setup.py sdist -d . bdist_wheel -d .
......@@ -29,7 +28,7 @@ build:
- '*.tar.gz'
expire_in: 1 day
test:
.test:
stage: test
before_script:
- pip install --upgrade pip
......@@ -37,6 +36,24 @@ test:
script:
- python setup.py test
test:python3.8:
extends: .test
image: python:3.8
test:python3.9:
extends: .test
image: python:3.9
test:python3.10:
extends: .test
allow_failure: true
image: python:3.10
test:python3.11:
extends: .test
allow_failure: true
image: python:3.11
# Generate documentation
doc:
stage: test
......@@ -72,6 +89,7 @@ pages:
FAR_study:
stage: test
when: manual
image: python:3.9
before_script:
- pip install --upgrade pip
- pip install .
......@@ -81,6 +99,7 @@ FAR_study:
FAR_subgrb_study:
stage: test
when: manual
image: python:3.9
before_script:
- pip install --upgrade pip
- pip install .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment