Merge pull request #322 from DerwenAI/snyk-fix-4bf3d8933d6cc2ada2888f… #236
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}} |