mirror of
https://github.com/unraid/api.git
synced 2026-01-05 16:09:49 -06:00
fix: only test if API was changed
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -64,6 +64,7 @@ jobs:
|
||||
|
||||
- name: Test inside of the docker container
|
||||
run: |
|
||||
git diff --name-only ${{ github.sha }}^ ${{ github.sha }} | grep -q '^api/' || exit 0
|
||||
docker run --rm builder npm run coverage
|
||||
- name: Get Git Short Sha and API version
|
||||
id: vars
|
||||
|
||||
Reference in New Issue
Block a user