Merge pull request #331 from DerwenAI/snyk-fix-f6aa66ad09a63c354a078c… #248
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: CI | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
EVENT: ${{ github.event.number }} | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v2 | |
- name: build for testing | |
run: docker build --pull --rm -f "docker/testsuite.Dockerfile" -t testsuite:PR_${{env.EVENT}} . | |
- name: run unit tests | |
run: docker run --rm -t testsuite:PR_${{env.EVENT}} |