Skip to content

Bump hpcflow version #860

Bump hpcflow version

Bump hpcflow version #860

Workflow file for this run

name: Test
on:
workflow_dispatch: # manual invocation
inputs:
pre_commit:
description: "Run pre-commit?"
required: true
type: boolean
default: true
unit_tests:
description: "Run unit tests?"
required: true
type: boolean
default: true
invocation_tests:
description: "Run invocation tests?"
required: true
type: boolean
default: true
integration_tests:
description: "Run integration-like workflow submission tests?"
required: true
type: boolean
default: true
unit_test_args:
description: "CLI args to pass verbatim to pytest (unit tests)."
required: false
type: string
default: ""
integration_test_args:
description: "CLI args to pass verbatim to pytest (integration tests)."
required: false
type: string
default: ""
pull_request:
types: [opened, synchronize]
branches: [main, develop] # have to manually change these
jobs:
test:
uses: hpcflow/github-support/.github/workflows/test-impl.yml@main
with:
pre_commit: ${{ github.event_name == 'pull_request' || github.event.inputs.pre_commit == 'true' }}
unit_tests: ${{ github.event_name == 'pull_request' || github.event.inputs.unit_tests == 'true' }}
integration_tests: ${{ github.event_name == 'pull_request' || github.event.inputs.integration_tests == 'true' }}
invocation_tests: ${{ github.event_name == 'pull_request' || github.event.inputs.invocation_tests == 'true' }}
unit_test_args: ${{ github.event.inputs.unit_test_args }}
integration_test_args: ${{ github.event.inputs.integration_test_args }}
ref: ${{ github.ref }}
head-ref: ${{ github.head_ref }}
full-repo-name: ${{ github.event.pull_request.head.repo.full_name }}
app_package: matflow
CLI_module: matflow.cli
CLI_path: matflow/cli.py
CLI_path_win: matflow\cli.py
executable_name: matflow
pytest_args: ""
python-versions: |
["3.10", "3.11", "3.12", "3.13"]
secrets:
pre-commit-token: ${{ secrets.HPCFLOW_ACTIONS_TOKEN || secrets.GITHUB_TOKEN }}
permissions:
id-token: write
contents: write