From bced31b23586d809eabd014f904bce11dfcd2f99 Mon Sep 17 00:00:00 2001 From: wysiwys Date: Wed, 26 Mar 2025 13:05:41 +0100 Subject: [PATCH 1/4] add v1 test workflow --- .github/workflows/integration-v1.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/integration-v1.yml diff --git a/.github/workflows/integration-v1.yml b/.github/workflows/integration-v1.yml new file mode 100644 index 0000000..7040f80 --- /dev/null +++ b/.github/workflows/integration-v1.yml @@ -0,0 +1,29 @@ +name: Example workflow + +on: + workflow_dispatch: + pull_request: + +jobs: + example-workflow: + runs-on: ubuntu-latest + steps: + # Checkout the current repo to get test data + - uses: actions/checkout@v4 + with: + repository: cryspen/benchmark-data-extract-transform + path: first-action + ref: dev + - uses: cryspen/benchmark-data-extract-transform@v1 + with: + tool: 'cargo' + platform: 'ubuntu-latest' + output-file-path: ./first-action/test/data/extract/cargo_output.txt + data-out-path: /home/runner/work/output.json + - uses: cryspen/benchmark-upload-and-plot-action@v1 + with: + name: 'Test second action' + input-data-path: /home/runner/work/output.json + github-token: ${{ secrets.GITHUB_TOKEN }} + auto-push: true + gh-pages-branch: gh-pages-test From c4a0577ad17421457b7c5d8cf98613acc168d1c9 Mon Sep 17 00:00:00 2001 From: wysiwys Date: Wed, 26 Mar 2025 13:06:49 +0100 Subject: [PATCH 2/4] rename workflow --- .github/workflows/integration-v1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-v1.yml b/.github/workflows/integration-v1.yml index 7040f80..85ac93b 100644 --- a/.github/workflows/integration-v1.yml +++ b/.github/workflows/integration-v1.yml @@ -1,4 +1,4 @@ -name: Example workflow +name: Example v1 workflow on: workflow_dispatch: From ec3b8ca936e444e63c5cfd7f4559407fdeed9192 Mon Sep 17 00:00:00 2001 From: wysiwys Date: Wed, 26 Mar 2025 13:07:58 +0100 Subject: [PATCH 3/4] use current repo --- .github/workflows/integration-v1.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration-v1.yml b/.github/workflows/integration-v1.yml index 85ac93b..3e103a3 100644 --- a/.github/workflows/integration-v1.yml +++ b/.github/workflows/integration-v1.yml @@ -24,6 +24,7 @@ jobs: with: name: 'Test second action' input-data-path: /home/runner/work/output.json + repository: github.com/cryspen/benchmark-upload-and-plot-action github-token: ${{ secrets.GITHUB_TOKEN }} auto-push: true gh-pages-branch: gh-pages-test From 05b2174edbd262146a5429271f9e063c504bd786 Mon Sep 17 00:00:00 2001 From: wysiwys Date: Wed, 26 Mar 2025 13:08:45 +0100 Subject: [PATCH 4/4] rename key --- .github/workflows/integration-v1.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-v1.yml b/.github/workflows/integration-v1.yml index 3e103a3..bfb22d1 100644 --- a/.github/workflows/integration-v1.yml +++ b/.github/workflows/integration-v1.yml @@ -24,7 +24,7 @@ jobs: with: name: 'Test second action' input-data-path: /home/runner/work/output.json - repository: github.com/cryspen/benchmark-upload-and-plot-action + gh-repository: github.com/cryspen/benchmark-upload-and-plot-action github-token: ${{ secrets.GITHUB_TOKEN }} auto-push: true gh-pages-branch: gh-pages-test