Skip to content
Permalink
Browse files

Add an ogc github workflow

  • Loading branch information
pblottiere authored and nyalldawson committed Sep 10, 2020
1 parent e5989c1 commit f9c0cda9f96c67d33f4f92e410993fc73bb8acee
Showing with 39 additions and 0 deletions.
  1. +39 −0 .github/workflows/ogc.yml
@@ -0,0 +1,39 @@
name: Run OGC tests for QGIS Server

on:
push:
branches:
- master
- release-**
pull_request:
branches:
- master
- release-**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup build dependencies
run: |
docker build -t qgis_server_deps -f .ci/ogc/Dockerfile .ci/ogc/
- name: Cache
id: cache
uses: actions/cache@v2
with:
path: ~/.ccache
key: ogc

- name: Run build
run: |
docker run -v ~/.ccache:/root/ccache -v $(pwd):/usr/src/qgis qgis_server_deps /usr/src/qgis/.ci/ogc/build.sh
- name: Install pyogctest
run: |
sudo apt-get install python3-virtualenv virtualenv git
git clone https://github.com/pblottiere/pyogctest
virtualenv -p /usr/bin/python3 venv && source venv/bin/activate && pip install -e pyogctest/

0 comments on commit f9c0cda

Please sign in to comment.
You can’t perform that action at this time.