Skip to content

Commit

Permalink
extras foo
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <[email protected]>
  • Loading branch information
jkowalleck committed Sep 19, 2023
1 parent 4c0f74f commit eb9cd50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,16 @@ jobs:
coverage-reports: ${{ env.REPORTS_DIR }}/coverage.*

examples:
name: Examples
name: Examples E${{ matrix.install-extras }}
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
install-extras:
- '' # none
- json-validation
- xml-validation
steps:
- name: Checkout
# see https://github.com/actions/checkout
Expand All @@ -194,7 +201,7 @@ jobs:
with:
poetry-version: ${{ env.POETRY_VERSION }}
- name: Install package and prod dependencies
run: poetry install --only=main -vvv
run: poetry install --only=main --extras='${{ matrix.install-extras }}' -vvv
- name: run all examples
run: >
find examples -type f -name '*.py' -print0
Expand Down
4 changes: 2 additions & 2 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ Install from `pypi.org`_ as you would any other Python module using your preferr
Extras
------

The following extras are available when installing the package:
The following extras are available when installing this package:

`json-validation`
Install the optional dependencies needed for JSON validation.
`xml-validation`
Install the optional dependencies needed for JSON validation.
Install the optional dependencies needed for XML validation.
`validation`
Install the optional dependencies needed for the validations above.

Expand Down

0 comments on commit eb9cd50

Please sign in to comment.