PR Build: #424 (1.1990) - 22759: Updates react_aggregate
to use derivation logic for derived features and adds other logic to improve aggregate details when using time-series data
#1990
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create PR Build | |
run-name: "PR Build: #${{ github.event.pull_request.number }} (${{ github.run_attempt }}.${{ github.run_number }}) - ${{ github.event.pull_request.title }}" | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
set-pr-version: | |
runs-on: ubuntu-latest | |
outputs: | |
version: ${{ steps.set-pr-version.outputs.version }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get previous git tag | |
id: previous-tag | |
run: | | |
tag=$(git for-each-ref --sort=-creatordate --count 5 --format="%(refname:short)" "refs/tags/" | grep -E "^[0-9]+\.[0-9]+\.[0-9]+" | head -n 1) | |
echo "Found tag: $tag" | |
echo "tag=$(echo $tag)" >> $GITHUB_OUTPUT | |
- name: Get next semver from previous tag | |
id: next-semvers | |
uses: WyriHaximus/github-action-next-semvers@v1 | |
with: | |
version: ${{ steps.previous-tag.outputs.tag }} | |
- name: Set PR version | |
id: set-pr-version | |
run: | | |
PR_NUMBER=${{ github.event.pull_request.number }} | |
PR_ITERATION=${{ github.run_attempt }}.${{ github.run_number }} | |
echo "version=$(echo ${{ steps.next-semvers.outputs.patch }}-alpha+PR.${PR_NUMBER}.${PR_ITERATION})" >> $GITHUB_OUTPUT | |
build-test-package: | |
needs: ['set-pr-version'] | |
uses: "./.github/workflows/build-test-package.yml" | |
secrets: inherit | |
with: | |
version: ${{ needs.set-pr-version.outputs.version }} | |
build-type: "PR" | |
# This job is here to have only one final step to add for "Status Checks" | |
# in GitHub, instead of adding every leaf test from 'build-test-package' | |
final-check: | |
needs: ['build-test-package'] | |
if: always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) | |
runs-on: ubuntu-latest | |
steps: | |
- run: exit 1 |