-
Notifications
You must be signed in to change notification settings - Fork 46
42 lines (32 loc) · 933 Bytes
/
test_plugin.yaml
File metadata and controls
42 lines (32 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Test plugin
on:
push:
paths:
- "slyr_community/**"
- ".github/workflows/test_plugin.yaml"
pull_request:
paths:
- "slyr_community/**"
- ".github/workflows/test_plugin.yaml"
env:
# plugin name/directory where the code for the plugin is stored
PLUGIN_NAME: slyr_community
# python notation to test running inside plugin
TESTS_RUN_FUNCTION: slyr_community.test_suite.test_package
# Docker settings
DOCKER_IMAGE: qgis/qgis
jobs:
Test-plugin-slyr_community:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
qgis_version: [release-3_22, release-3_28, release-3_34, "3.40", "3.44"]
env:
QGIS_TEST_VERSION: ${{ matrix.qgis_version }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Test
run: |
docker compose -f .docker/docker-compose.yml run qgis /usr/src/.docker/run-docker-tests.sh