Skip to content

Commit

Permalink
fix(actions): Test action needed to be updated.
Browse files Browse the repository at this point in the history
``tool.poetry.group.extras`` -> ``tool.poetry.group.ci``.
  • Loading branch information
acederberg committed Jul 8, 2024
1 parent b2cd934 commit d04dcce
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,22 @@ jobs:
# Eventually this step should be replaced with pip install .[test] instead.
# BUG: pip install .[test] does not install pytest. See pipeline number 3.
- name: Install Dependencies.
run: python3 -m pip install '.' pytest twine build docker
run: |-
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install poetry
python3 -m poetry install --with test
- name: Test
run: python3 -m pytest
run: |-
source .venv/bin/activate
# which python3
# python3 -m pip list
python3 -m pytest
- name: Verify Build.
run: |-
source .venv/bin/activate
python3 -m poetry install --with ci
python3 -m build
python3 -m twine check dist/*
38 changes: 37 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ pytest-mypy-plugins = "^3.1.2"
types-toml = "^0.10.8.20240310"
bumpver = "^2023.1129"

[tool.poetry.group.extras.dependencies]
[tool.poetry.group.ci.dependencies]
twine = "^5.1.1"
build = "^1.2.1"

[tool.poetry.group.test.dependencies]
click = "^8.1.7"
pytest = "^8.2.2"
pytest-mypy = "^0.10.3"

Expand Down

0 comments on commit d04dcce

Please sign in to comment.