replace matrix build
This commit is contained in:
parent
9ac29117c7
commit
1526afa0e9
|
@ -53,11 +53,7 @@ branches:
|
|||
strict: false
|
||||
contexts:
|
||||
- ci/woodpecker/pr/lint
|
||||
- ci/woodpecker/pr/test/1
|
||||
- ci/woodpecker/pr/test/2
|
||||
- ci/woodpecker/pr/test/3
|
||||
- ci/woodpecker/pr/test/4
|
||||
- ci/woodpecker/pr/test/5
|
||||
- ci/woodpecker/pr/test
|
||||
- ci/woodpecker/pr/build-package
|
||||
- ci/woodpecker/pr/build-container
|
||||
- ci/woodpecker/pr/docs
|
||||
|
|
|
@ -31,11 +31,6 @@ steps:
|
|||
commands:
|
||||
- lychee --no-progress --format detailed docs/content README.md
|
||||
|
||||
- name: testbuild
|
||||
image: quay.io/thegeeklab/hugo:0.115.2
|
||||
commands:
|
||||
- hugo --panicOnWarning -s docs/ -b http://localhost:8000/
|
||||
|
||||
- name: build
|
||||
image: quay.io/thegeeklab/hugo:0.115.2
|
||||
commands:
|
||||
|
|
|
@ -5,17 +5,9 @@ when:
|
|||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
matrix:
|
||||
PYTHON_VERSION:
|
||||
- "3.8"
|
||||
- "3.9"
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
- name: pytest
|
||||
image: docker.io/library/python:${PYTHON_VERSION}
|
||||
variables:
|
||||
- &pytest_base
|
||||
group: pytest
|
||||
commands:
|
||||
- pip install poetry poetry-dynamic-versioning -qq
|
||||
- poetry install
|
||||
|
@ -24,3 +16,24 @@ steps:
|
|||
- poetry run ${CI_REPO_NAME} --help
|
||||
environment:
|
||||
PY_COLORS: "1"
|
||||
|
||||
steps:
|
||||
- name: python-312
|
||||
image: docker.io/library/python:3.12
|
||||
<<: *pytest_base
|
||||
|
||||
- name: python-311
|
||||
image: docker.io/library/python:3.11
|
||||
<<: *pytest_base
|
||||
|
||||
- name: python-310
|
||||
image: docker.io/library/python:3.10
|
||||
<<: *pytest_base
|
||||
|
||||
- name: python-39
|
||||
image: docker.io/library/python:3.9
|
||||
<<: *pytest_base
|
||||
|
||||
- name: python-38
|
||||
image: docker.io/library/python:3.8
|
||||
<<: *pytest_base
|
||||
|
|
Loading…
Reference in New Issue