|
@@ -142,7 +142,7 @@ jobs:
|
|
if: ${{ env.RUN_TESTS }}
|
|
if: ${{ env.RUN_TESTS }}
|
|
uses: mattes/cached-docker-build-action@v1
|
|
uses: mattes/cached-docker-build-action@v1
|
|
with:
|
|
with:
|
|
- args: " --file ./Dockerfile --tag techempower/tfb ."
|
|
|
|
|
|
+ args: " --file ./Dockerfile --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --tag techempower/tfb ."
|
|
cache_key: "${{ hashFiles('./Dockerfile') }}"
|
|
cache_key: "${{ hashFiles('./Dockerfile') }}"
|
|
- name: Stop services
|
|
- name: Stop services
|
|
# Stop services that would claim ports we may need
|
|
# Stop services that would claim ports we may need
|
|
@@ -155,7 +155,7 @@ jobs:
|
|
# run-ci.py runs the diffing to see if github actions needs to test this framework. Ideally/eventually,
|
|
# run-ci.py runs the diffing to see if github actions needs to test this framework. Ideally/eventually,
|
|
# we'd like to try and do the diffing before github_actions_clean & setup.
|
|
# we'd like to try and do the diffing before github_actions_clean & setup.
|
|
# This will run the tests exactly as you would in your own vm:
|
|
# This will run the tests exactly as you would in your own vm:
|
|
- docker network create tfb > /dev/null 2>&1 && docker run --network=tfb -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=`pwd`,target=/FrameworkBenchmarks techempower/tfb --mode verify --test-dir $RUN_TESTS --results-environment Github-Actions;
|
|
|
|
|
|
+ docker network create tfb > /dev/null 2>&1 && docker run --network=tfb -e USER_ID=$(id -u) -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=`pwd`,target=/FrameworkBenchmarks techempower/tfb --mode verify --test-dir $RUN_TESTS --results-environment Github-Actions;
|
|
dependabot:
|
|
dependabot:
|
|
needs: verify
|
|
needs: verify
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|