Add some basic benchmarks #293
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: Dissect CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- '*' | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
ci: | ||
uses: fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-template.yml@main | ||
secrets: inherit | ||
with: | ||
run-benchmarks: true | ||
Check failure on line 16 in .github/workflows/dissect-ci.yml GitHub Actions / Dissect CIInvalid workflow file
|
||
publish: | ||
if: ${{ github.ref_name == 'main' || github.ref_type == 'tag' }} | ||
needs: [ci] | ||
runs-on: ubuntu-latest | ||
environment: dissect_publish | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: packages | ||
path: dist/ | ||
# According to the documentation, it automatically looks inside the `dist/` folder for packages. | ||
- name: Publish package distributions to Pypi | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
trigger-tests: | ||
needs: [publish] | ||
uses: fox-it/dissect-workflow-templates/.github/workflows/dissect-ci-demand-test-template.yml@main | ||
secrets: inherit | ||
with: | ||
on-demand-test: 'dissect.target' |