Add web UI for searching, comparing, and analyzing benchmark iterations #118
Workflow file for this run
This file contains hidden or 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: cdm-ci | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.ref }}/cdm-ci | |
| cancel-in-progress: true | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| only-docs: ${{ steps.filter.outputs.only_changed }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: tj-actions/changed-files@v47 | |
| id: filter | |
| with: | |
| files: | | |
| LICENSE | |
| *.md | |
| **/*.md | |
| .github/rulesets/** | |
| .github/workflows/run-crucible-tracking.yaml | |
| .github/workflows/crucible-ci.yaml | |
| .github/workflows/cdm-ci.yaml | |
| docs/** | |
| - name: Display changes | |
| run: echo '${{ toJSON(steps.filter.outputs) }}' | jq . | |
| real-cdm-ci: | |
| runs-on: ubuntu-latest | |
| needs: changes | |
| if: ${{ github.event_name == 'workflow_dispatch' || needs.changes.outputs.only-docs != 'true' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "22.22.0" | |
| - name: install cdmq dependencies | |
| run: npm install --no-fund --no-audit | |
| working-directory: queries/cdmq | |
| - name: fail if javascript files are not formatted | |
| run: npx prettier **/*.js --check | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| faux-cdm-ci: | |
| runs-on: ubuntu-latest | |
| needs: changes | |
| if: ${{ github.event_name != 'workflow_dispatch' && needs.changes.outputs.only-docs == 'true' }} | |
| steps: | |
| - run: 'echo "faux-cdm-ci-complete"' | |
| cdm-ci-complete: | |
| runs-on: ubuntu-latest | |
| needs: [ real-cdm-ci, faux-cdm-ci ] | |
| if: always() | |
| steps: | |
| - name: Check Results | |
| if: >- | |
| contains(needs.*.result, 'failure') || | |
| contains(needs.*.result, 'cancelled') | |
| run: exit 1 | |
| - run: 'echo "cdm-ci complete"' |