Skip to content

Commit d96422a

Browse files
committed
Fix tests
1 parent 3e8a11f commit d96422a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/tests.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ jobs:
1616
strategy:
1717
matrix:
1818
# Remove unsupported versions and add more versions. Use LTR version in the cov_tests job
19-
docker_tags: [release-3_10, release-3_16, latest]
19+
docker_tags: [release-3_28, latest]
2020
fail-fast: false
2121

2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2626
with:
2727
submodules: true
2828

29+
- uses: actions/setup-python@v4
30+
with:
31+
cache: pip
32+
- run: pip install pip-tools
33+
- run: pip-compile requirements-dev.in
34+
2935
- name: Pull qgis
3036
run: docker pull qgis/qgis:${{ matrix.docker_tags }}
3137

@@ -62,7 +68,7 @@ jobs:
6268
- name: Run tests
6369
shell: pwsh
6470
run: |
65-
$env:PATH="C:\Program Files\QGIS 3.16\bin;$env:PATH"
71+
$env:PATH=(Get-ChildItem -Path "C:\Program Files" -Directory QGIS*).FullName +"\bin;$env:PATH"
6672
$env:QGIS_PLUGIN_IN_CI=1
6773
python-qgis-ltr.bat -m pip install -qr requirements-dev.txt
6874
python-qgis-ltr.bat -m pytest -v

0 commit comments

Comments
 (0)