Skip to content

Commit

Permalink
Merge pull request #114 from koordinates/upgrade-docker-compose
Browse files Browse the repository at this point in the history
Migrate to v2 Docker Compose & Update QGIS/Kart Versions
  • Loading branch information
hamishcampbell authored Aug 13, 2024
2 parents 874bc84 + 9f25da4 commit 4937fb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ARG QGIS_TEST_VERSION=latest
FROM qgis/qgis:${QGIS_TEST_VERSION}

ENV PIP_BREAK_SYSTEM_PACKAGES 1

RUN apt-get update && \
apt-get install -y python3-pip
COPY ./requirements.txt /tmp/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:

strategy:
matrix:
qgis_version: [release-3_28, latest]
qgis_version: [release-3_34, latest]
fail-fast: false

env:
QGIS_TEST_VERSION: ${{ matrix.qgis_version }}
KART_VERSION: "0.15.0"
KART_VERSION: "0.15.2"

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Test on QGIS
run: >
docker-compose -f .docker/docker-compose.gh.yml run --build --rm
docker compose -f .docker/docker-compose.gh.yml run --build --rm
qgis /usr/src/.docker/run-docker-tests.sh
4 changes: 2 additions & 2 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

cd $(dirname $0)/..
export GITHUB_WORKSPACE=$PWD
docker-compose -f .docker/docker-compose.gh.yml run qgis /usr/src/.docker/run-docker-tests.sh $@
docker-compose -f .docker/docker-compose.gh.yml rm -s -f
docker compose -f .docker/docker-compose.gh.yml run qgis /usr/src/.docker/run-docker-tests.sh $@
docker compose -f .docker/docker-compose.gh.yml rm -s -f

0 comments on commit 4937fb9

Please sign in to comment.