Add tests for the Deutsch-Jozsa algorithm #12
Workflow file for this run
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: Run Dyalog APL Unit Tests | |
on: [pull_request] | |
jobs: | |
run-dyalog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 | |
- name: Build custom Docker image | |
run: docker build -t dytest . | |
# ]dtest requires write access to /tests | |
- name: Run unit tests | |
run: | | |
docker run --rm \ | |
-v "${{ github.workspace }}/DBuildTest/DyalogBuild.dyalog:/home/dyalog/MyUCMDs/DyalogBuild.dyalog" \ | |
-v "${{ github.workspace }}/APLSource:/src" \ | |
-v "${{ github.workspace }}/tests:/tests" \ | |
dytest |