-
Notifications
You must be signed in to change notification settings - Fork 16
53 lines (47 loc) · 1.11 KB
/
run-tests.yml
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
43
44
45
46
47
48
49
50
51
52
53
name: 🧪 EnMAP-Box Tests
on:
push:
branches:
- main
- release-**
- refactor_environments
- release_**
pull_request:
branches:
- '**'
- release-**
- release_**
release:
types: [published]
jobs:
# Run EnMAP-Box tests
test:
runs-on: ubuntu-22.04
strategy:
matrix:
qgis_version: [3.34, 3.36, 3.38]
fail-fast: false
env:
QGIS_TEST_VERSION: ${{ matrix.qgis_version}}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Docker Environment Info
run: |
# ls -la .docker/
# ls -la
# ls -la ~
# ls -la /usr/bin
docker --version
lsb_release -a
- name: Python Packages Info
run: |
python3 --version
pip list
- name: Test EnMAP-Box on QGIS
run: |
chmod +x .env/docker/run_docker_tests.sh
ls -la .env/docker
docker compose -f .env/docker/docker-compose.gh.yml run qgis /usr/src/.env/docker/run_docker_tests.sh -n auto