Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ RUN apt-get update && \
&& rm -rf /var/lib/apt/lists/*

COPY ./requirements.txt /tmp/
RUN pip3 install -r /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt --break-system-packages

COPY ./ /usr/src/

ENV PYTHONPATH=/usr/share/qgis/python/plugins

RUN chmod a+x /usr/src/run-docker-tests.sh

ENTRYPOINT ["/usr/src/run-docker-tests.sh"]
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
jobs:
# Run unit tests
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
qgis_version: [final-3_28_13] # We could eventually add more, e.g., latest
qgis_version: [latest,3.40.3-noble] # We could eventually add more, e.g., latest
env:
QGIS_TEST_VERSION: ${{ matrix.qgis_version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion run-docker-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

pushd /usr/src/
xvfb-run nose2-3
xvfb-run python3 -m nose2
popd