Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use the latest tag in benchmark references #855

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/performance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ name: "Run flowR's performance tests"
description: "Should the resulting commits for the graphs be pushed?"
required: true
type: boolean
ref:
description: "The git ref to use for the benchmark data"
default: "refs/heads/main"
required: false
type: string

jobs:
performance-test:
Expand Down Expand Up @@ -63,7 +68,7 @@ jobs:
comment-always: true
skip-fetch-gh-pages: true
max-items-in-chart: 100
ref: refs/heads/main
ref: ${{ inputs.ref }}
gh-repository: ${{ github.repository }}
benchmark-data-dir-path: wiki/stats/benchmark/
auto-push: false
Expand All @@ -87,7 +92,7 @@ jobs:
comment-always: true
skip-fetch-gh-pages: true
max-items-in-chart: 100
ref: refs/heads/main
ref: ${{ inputs.ref }}
gh-repository: ${{ github.repository }}
benchmark-data-dir-path: wiki/stats/benchmark/
auto-push: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
fi

npm run release -- --increment "$step" --ci --verbose --github.releaseName="Release v\${version} (${title})"
echo "version=$(node -p "require('./package.json').version")" >> "$GITHUB_OUTPUT"
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
# apparently, putting the message into an env variable first sanitizes it
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
uses: Code-Inspect/flowr/.github/workflows/performance-test.yaml@main
with:
push: true
ref: refs/tags/v${{ needs.release.outputs.version }}
secrets: inherit

deploy-docker:
Expand Down
Loading
Loading