forked from GeoscienceAustralia/dea-waterbodies
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (27 loc) · 853 Bytes
/
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
name: Test
on: [push]
env:
ORG: digitalearthafrica
IMAGE: deafrica-waterbodies
PRODUCT_CATALOG: https://raw.githubusercontent.com/digitalearthafrica/config/master/prod/products_prod.csv
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Activate Docker cache
uses: satackey/[email protected]
# Ignore the failure of a step and avoid terminating the job.
continue-on-error: true
- name: Setup deafrica-waterbodies test environment
run: |
make test-env
- name: Run deafrica-waterbodies test
run: |
make run-tests
make clean
- name: Clean deafrica-waterbodies image
run: |
(echo y) | docker container prune
(echo y) | docker image prune