Skip to content

Allow checkout ref to be customized #288

Allow checkout ref to be customized

Allow checkout ref to be customized #288

on:
push:
paths:
- .github/workflows/publish_pure_python.yml
- .github/workflows/test_publish_pure_python.yml
pull_request:
paths:
- .github/workflows/publish_pure_python.yml
- .github/workflows/test_publish_pure_python.yml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
uses: ./.github/workflows/publish_pure_python.yml

Check failure on line 17 in .github/workflows/test_publish_pure_python.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_publish_pure_python.yml

Invalid workflow file

The workflow is not valid. In .github/workflows/test_publish_pure_python.yml (Line: 17, Col: 11): Error from called workflow OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@767bd07446672430e15f03b4b0301ffd347b2b16 (Line: 72, Col: 9): Required property is missing: type
with:
test_extras: test
test_command: pytest --pyargs test_package
timeout-minutes: 5
setenv:
uses: ./.github/workflows/publish_pure_python.yml
with:
test_command: python -c "import os; assert os.getenv('CUSTOM_VAR') == 'custom value'"
env: |
CUSTOM_VAR: custom value