forked from usnistgov/oar-pdr
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 946 Bytes
/
testall.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
name: testall
on:
workflow_dispatch:
pull_request:
push:
branches-ignore: ['main', 'integration']
paths:
- 'docker/**'
- '.github/workflows/**'
jobs:
testall:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Docker
uses: docker/setup-buildx-action@v1
- name: Build Containers
env:
OAR_DOCKERHUB_CRED: ${{ secrets.OAR_DOCKERHUB_CRED }}
run: |
bash scripts/dhsetup.sh
cd docker && bash ./dockbuild.sh
- name: Build & Run Python Tests via Docker
run: cd docker && ./testall -D python
- name: Test Java via Docker
run: cd docker && ./testall -D java
- name: Build Angular Code
run: cd docker && ./makedist -D angular
- name: Run Angular Tests
run: cd docker && ./testall -D angular