Skip to content

Commit a60706a

Browse files
author
mike dupont
committedSep 26, 2024·
using a variable
started the test locally with `act -W ./.github/workflows/run-docker-tests.yml` so we can show the syntax is ok
1 parent 73235f4 commit a60706a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎.github/workflows/run-docker-tests.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: run Perf Test and collect data
22
env:
33
default_image: "ghcr.io/meta-introspector/o1js/o1js-perf-recording:latest"
4+
container_name: "mixed-source"
45
on:
56
workflow_dispatch:
67
inputs:
@@ -31,12 +32,12 @@ jobs:
3132
run: docker pull ${{ inputs.image_url || env.default_image }}
3233

3334
- name: run the Docker tests
34-
run: docker compose up mixed-source
35+
run: docker compose up ${{ env.container_name }}
3536
env:
3637
DOCKER_IMAGE_URL: ${{ inputs.image_url || env.default_image}}
3738

3839
- name: docker cp results
39-
run: docker compose cp mina-local-network:/tmp/perf.data.tar.gz perf.data.tar.gz
40+
run: docker compose cp ${{ env.container_name }}:/tmp/perf.data.tar.gz perf.data.tar.gz
4041

4142
- name: Archive results
4243
uses: meta-introspector/upload-artifact@v4

0 commit comments

Comments
 (0)
Please sign in to comment.