mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 12:06:57 +00:00
Adding github action for entrypoint unit test
... and adding safety mechanism in UNITTEST handling.
This commit is contained in:
committed by
Yusuke Kuoka
parent
ec0915ce7c
commit
a98729b08b
21
.github/workflows/test-entrypoint.yaml
vendored
Normal file
21
.github/workflows/test-entrypoint.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user