Skip to content

Commit 82e4868

Browse files
committed
[tests] Bump QGIS version for tests
1 parent 1c8d142 commit 82e4868

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ RUN apt-get update && \
88
&& rm -rf /var/lib/apt/lists/*
99

1010
COPY ./requirements.txt /tmp/
11-
RUN pip3 install -r /tmp/requirements.txt
11+
RUN pip3 install -r /tmp/requirements.txt --break-system-packages
1212

1313
COPY ./ /usr/src/
1414

15+
ENV PYTHONPATH=/usr/share/qgis/python/plugins
16+
1517
RUN chmod a+x /usr/src/run-docker-tests.sh
1618

1719
ENTRYPOINT ["/usr/src/run-docker-tests.sh"]

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ on:
1414
jobs:
1515
# Run unit tests
1616
test:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818
strategy:
1919
matrix:
20-
qgis_version: [final-3_28_13] # We could eventually add more, e.g., latest
20+
qgis_version: [latest,3.40.3-noble] # We could eventually add more, e.g., latest
2121
env:
2222
QGIS_TEST_VERSION: ${{ matrix.qgis_version }}
2323
steps:

run-docker-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
set -e
33

44
pushd /usr/src/
5-
xvfb-run nose2-3
5+
xvfb-run python3 -m nose2
66
popd

0 commit comments

Comments
 (0)