Skip to content

WORKING. Clean ups and more test to do #106

WORKING. Clean ups and more test to do

WORKING. Clean ups and more test to do #106

Workflow file for this run

name: python-source
on:
workflow_dispatch:
push:
branches-ignore: ['main', 'integration']
paths:
- 'python/**'
- 'scripts/*.py'
- 'scripts/**/*.py'
jobs:
testall_python:
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 pdrpytest
- name: Run Unit Tests via Docker
run: scripts/testall.docker python
- name: Upload Artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: test-artifacts
path: python/build/test-artifacts/