-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (28 loc) · 946 Bytes
/
docker.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
name: docker
on: [push, pull_request, workflow_dispatch]
jobs:
docker:
name: docker image build and test
runs-on: ubuntu-20.04
strategy:
matrix:
HSTCAL: [stable]
steps:
- name: checkout code
uses: actions/checkout@v2
- name: docker build
run: |
source caldp-setup
caldp-image-build
- name: run tests
run: |
source caldp-setup
export CALDP_DOCKER_RUN_PARS="--rm --user root:root" # non-interactive terminal, enable write this dir with root
caldp-test
- name: compute test coverage
uses: codecov/codecov-action@v2
- name: run sample container
run: |
source caldp-setup
export CALDP_DOCKER_RUN_PARS="--rm --user root:root" # non-interactive terminal, enable write this dir with root
caldp-docker-run-pipeline j8cb010b0 astroquery: none caldp-config-offsite