Merge pull request #321 from usnistgov/feature/ODD1091-ga4-fix #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
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: Build & Run Java Tests via Docker | |
run: cd docker && ./makedist -D java | |
- name: Build Angular Code | |
run: cd docker && ./makedist -D angular | |
- name: Run Angular Tests | |
run: cd docker && ./testall -D angular | |