Skip to content

Commit

Permalink
fix(ci): GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jun 29, 2024
1 parent c22dbd7 commit 8a8dc8b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
linux:
image: python:3.8
image: python:3.12
services:
- name: docker:dind
entrypoint: ["env", "-u", "DOCKER_HOST"]
Expand All @@ -23,9 +23,9 @@ windows:
variables:
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
before_script:
- choco install python -y --version 3.8.6
- choco install python -y --version 3.12.4
script:
- py -m pip install -e ".[dev]" pytest-custom-exit-code
- py bin\run_tests.py
tags:
- windows
- saas-windows-medium-amd64
10 changes: 5 additions & 5 deletions CI.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
This is a summary of the host Python versions and platforms covered by the different CI platforms:

| | 3.8 | 3.9 | 3.10 | 3.12 |
|---------|--------------------------------------------------------|-----------|-----------|--------------------------------------|
| Linux | AppVeyor¹ / Azure Pipelines / GitLab¹ / GitHub Actions | Travis CI | Cirrus CI | CircleCI¹ / GitHub Actions |
| macOS | AppVeyor¹ / Azure Pipelines | | Cirrus CI | CircleCI¹ / GitHub Actions |
| Windows | AppVeyor¹ / Azure Pipelines / GitLab¹ | Travis CI | Cirrus CI | GitHub Actions / GitLab¹ |
| | 3.8 | 3.9 | 3.10 | 3.12 |
|---------|----------------------------------------------|-----------|-----------|--------------------------------------|
| Linux | AppVeyor¹ / Azure Pipelines / GitHub Actions | Travis CI | Cirrus CI | CircleCI¹ / GitHub Actions / GitLab¹ |
| macOS | AppVeyor¹ / Azure Pipelines | | Cirrus CI | CircleCI¹ / GitHub Actions |
| Windows | AppVeyor¹ / Azure Pipelines | Travis CI | Cirrus CI | GitHub Actions / GitLab¹ |

> ¹ Runs a reduced set of tests to reduce CI load
Expand Down
6 changes: 3 additions & 3 deletions examples/gitlab-minimal.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
linux:
image: python:3.8
image: python:3.12
# make a docker daemon available for cibuildwheel to use
services:
- name: docker:dind
Expand All @@ -21,7 +21,7 @@ linux:
windows:
image: mcr.microsoft.com/windows/servercore:1809
before_script:
- choco install python -y --version 3.8.6
- choco install python -y --version 3.12.4
- choco install git.install -y
- py -m pip install cibuildwheel==2.19.1
script:
Expand All @@ -30,4 +30,4 @@ windows:
paths:
- wheelhouse/
tags:
- windows
- saas-windows-medium-amd64

0 comments on commit 8a8dc8b

Please sign in to comment.