Skip to content

Commit

Permalink
poetry extras
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-treebeard committed Oct 25, 2023
1 parent 078b063 commit ff1ce56
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers-contrib/features/starship:1": {},
},
"postCreateCommand": "poetry install",
"postCreateCommand": "poetry install --all-extras",
"remoteUser": "vscode"
}
48 changes: 24 additions & 24 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ jobs:
- uses: codecov/codecov-action@v1
with:
file: coverage.xml
# pytest:
# strategy:
# fail-fast: false
# matrix:
# os:
# - ubuntu-latest
# - macos-latest
# python-version:
# - "3.8"
# - "3.9"
# - "3.10"
# - "3.11"
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
# - run: pip install poetry
# - run: poetry install --all-extras
# - run: poetry run pytest --cov-report=xml --cov=src
# - uses: codecov/codecov-action@v1
# with:
# file: coverage.xml
pytest:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install poetry
- run: poetry install --all-extras
- run: poetry run pytest --cov-report=xml --cov=src
- uses: codecov/codecov-action@v1
with:
file: coverage.xml
2 changes: 1 addition & 1 deletion .github/workflows/test-publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- main
# pull_request:
pull_request:
jobs:
build-n-publish:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit ff1ce56

Please sign in to comment.