Skip to content

Commit

Permalink
fixup! CI: refactor pytest tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud committed Aug 10, 2024
1 parent 6bf2511 commit 3bbf356
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,14 @@ pytest_task:
- freebsd_instance:
image_family: freebsd-14-0
env:
PY: python${PYTHON}
matrix:
- PYTHON: 3.10
- PYTHON: 3.11
# TODO: PYTHON: 3.12
install_script:
- PY=`echo $PYTHON | tr -d '.'`
- pkg install -y python${PY} git
- python${PYTHON} -m ensurepip
- PY=`echo python$PYTHON | tr -d '.'`
- pkg install -y $PY git
- $PY -m ensurepip

- windows_container:
image: cirrusci/windowsservercore:2019
Expand All @@ -102,10 +101,10 @@ pytest_task:
- C:\python-installer.exe /quiet TargetDir=C:\Python SimpleInstall=1

build_script:
- ${PY} -m pip install -U --upgrade-strategy eager pip 'setuptools>61'
- ${PY} -m pip install .[test]
- $PY -m pip install -U --upgrade-strategy eager pip 'setuptools>61'
- $PY -m pip install .[test]
script:
- ${PY} --version
- $PY --version
- bork run test
always:
upload_results_artifacts:
Expand Down

0 comments on commit 3bbf356

Please sign in to comment.