Merge pull request #15770 from aabadie/pr/ci/docker_static-test-tools
ci: use riot/static-test-tools Docker image with static-tests and doc-build
This commit is contained in:
commit
61fd822efe
@ -8,7 +8,7 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
doc-build:
|
doc-build:
|
||||||
docker:
|
docker:
|
||||||
- image: riot/riotbuild
|
- image: riot/static-test-tools
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: make doc
|
- run: make doc
|
||||||
|
|||||||
6
.github/workflows/static-test.yml
vendored
6
.github/workflows/static-test.yml
vendored
@ -28,8 +28,8 @@ jobs:
|
|||||||
git config diff.renameLimit 16384
|
git config diff.renameLimit 16384
|
||||||
fi
|
fi
|
||||||
git config apply.whitespace nowarn
|
git config apply.whitespace nowarn
|
||||||
- name: Fetch riot/riotbuild Docker image
|
- name: Fetch riot/static-test-tools Docker image
|
||||||
run: docker pull riot/riotbuild:latest
|
run: docker pull riot/static-test-tools:latest
|
||||||
- name: Run static-tests
|
- name: Run static-tests
|
||||||
run: |
|
run: |
|
||||||
# Note: ${{ github.base_ref }} is empty when not in a PR
|
# Note: ${{ github.base_ref }} is empty when not in a PR
|
||||||
@ -37,5 +37,5 @@ jobs:
|
|||||||
-e CI_BASE_BRANCH=${{ github.base_ref }} \
|
-e CI_BASE_BRANCH=${{ github.base_ref }} \
|
||||||
-e GITHUB_RUN_ID=${GITHUB_RUN_ID} \
|
-e GITHUB_RUN_ID=${GITHUB_RUN_ID} \
|
||||||
-v $(pwd):/data/riotbuild \
|
-v $(pwd):/data/riotbuild \
|
||||||
riot/riotbuild:latest \
|
riot/static-test-tools:latest \
|
||||||
make static-test
|
make static-test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user