Skip to content

Commit

Permalink
run pyargs tests with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jul 15, 2024
1 parent 4be5bec commit c750571
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
test_command: python -c "from asdf import open, AsdfFile, info, config_context, get_config, ValidationError, IntegerType, Stream, ExternalArrayReference"
test_extras: tests
test_command: python -c "from asdf import open, AsdfFile, info, config_context, get_config, ValidationError, IntegerType, Stream, ExternalArrayReference"; pytest --pyargs asdf
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_ASDF_MAINTAINER }}

0 comments on commit c750571

Please sign in to comment.