mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-01 16:09:48 +02:00
replace matrix build
This commit is contained in:
parent
400ca8efdb
commit
ef4f0e0da4
5
.github/settings.yml
vendored
5
.github/settings.yml
vendored
|
@ -53,10 +53,7 @@ branches:
|
||||||
strict: false
|
strict: false
|
||||||
contexts:
|
contexts:
|
||||||
- ci/woodpecker/pr/lint
|
- ci/woodpecker/pr/lint
|
||||||
- ci/woodpecker/pr/test/1
|
- ci/woodpecker/pr/test
|
||||||
- ci/woodpecker/pr/test/2
|
|
||||||
- ci/woodpecker/pr/test/3
|
|
||||||
- ci/woodpecker/pr/test/4
|
|
||||||
- ci/woodpecker/pr/build-package
|
- ci/woodpecker/pr/build-package
|
||||||
- ci/woodpecker/pr/build-container
|
- ci/woodpecker/pr/build-container
|
||||||
- ci/woodpecker/pr/docs
|
- ci/woodpecker/pr/docs
|
||||||
|
|
|
@ -31,11 +31,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- lychee --no-progress --format detailed docs/content README.md
|
- 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
|
- name: build
|
||||||
image: quay.io/thegeeklab/hugo:0.115.2
|
image: quay.io/thegeeklab/hugo:0.115.2
|
||||||
commands:
|
commands:
|
||||||
|
|
|
@ -5,16 +5,9 @@ when:
|
||||||
branch:
|
branch:
|
||||||
- ${CI_REPO_DEFAULT_BRANCH}
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
matrix:
|
variables:
|
||||||
PYTHON_VERSION:
|
- &pytest_base
|
||||||
- "3.9"
|
group: pytest
|
||||||
- "3.10"
|
|
||||||
- "3.11"
|
|
||||||
- "3.12"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: pytest
|
|
||||||
image: docker.io/library/python:${PYTHON_VERSION}
|
|
||||||
commands:
|
commands:
|
||||||
- pip install poetry poetry-dynamic-versioning -qq
|
- pip install poetry poetry-dynamic-versioning -qq
|
||||||
- poetry install -E ansible-core
|
- poetry install -E ansible-core
|
||||||
|
@ -23,3 +16,20 @@ steps:
|
||||||
- poetry run ${CI_REPO_NAME} --help
|
- poetry run ${CI_REPO_NAME} --help
|
||||||
environment:
|
environment:
|
||||||
PY_COLORS: "1"
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user