Merge pull request #334 from DerwenAI/snyk-fix-db4a38d82fafd78e23f89b… #250
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}} |