Skip to content

Merge pull request #28 from OpenAstronomy/dependabot/github_actions/a… #84

Merge pull request #28 from OpenAstronomy/dependabot/github_actions/a…

Merge pull request #28 from OpenAstronomy/dependabot/github_actions/a… #84

Workflow file for this run

# This workflow is used to test the action
on:
push:
pull_request:
jobs:
build_pure:
name: Test action (pure wheel)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- id: build
uses: ./
with:
pure_python_wheel: true
test_groups: test, concurrency
test_extras: recommended
test_command: pytest --pyargs test_package
build_non_pure:
name: Test action (not pure wheel)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- id: build_not_pure
uses: ./
with:
pure_python_wheel: "false"
test_groups: test
test_extras: recommended
test_command: pytest --pyargs test_package
build_no_groups:
name: Test action (default, no groups)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- id: build
uses: ./
with:
pure_python_wheel: true
test_extras: recommended
test_command: python -c 'import test_package'
custom_source_directory:
name: Test action (custom source-directory)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- id: build
uses: ./
with:
source-directory: packages/subpackage
pure_python_wheel: true
test_extras: test
test_command: pytest --pyargs subpackage