Adding github action for entrypoint unit test

... and adding safety mechanism in UNITTEST handling.
This commit is contained in:
Sebastien Le Digabel
2021-08-02 10:46:58 +01:00
committed by Yusuke Kuoka
parent ec0915ce7c
commit a98729b08b
2 changed files with 24 additions and 3 deletions

21
.github/workflows/test-entrypoint.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Unit tests for entrypoint
on:
pull_request:
branches:
- '**'
paths:
- 'runner/**'
- 'test/entrypoint/**'
jobs:
test:
runs-on: ubuntu-latest
name: Test entrypoint
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run unit tests for entrypoint.sh
run: |
cd test/entrypoint
bash entrypoint_unittest.sh