-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (53 loc) · 1.58 KB
/
test.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
54
55
56
57
---
name: actinia tests
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
# only one run per PR/branch happens at a time, cancelling the old run when a
# new one starts
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Tests for GRASS 8.4
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Tests of actinia-module-plugin
id: docker_build
uses: docker/build-push-action@v6
with:
push: false
tags: actinia-module-plugin-test:alpine
context: .
file: docker/actinia-module-plugin-test/Dockerfile
no-cache: true
# pull: true
# Tests for GRASS 8.3
tests-G83:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Replace run integration test command
run: |
sed -i "s+mundialis/actinia:latest+mundialis/actinia:2.9.2_G83+g" docker/actinia-module-plugin-test/Dockerfile
- name: Tests of actinia-module-plugin
id: docker_build
uses: docker/build-push-action@v6
with:
push: false
tags: actinia-module-plugin-test:alpine
context: .
file: docker/actinia-module-plugin-test/Dockerfile
no-cache: true
# pull: true