Skip to content

Commit 74812d0

Browse files
committed
Get rid of single-test poe task
1 parent 87a23f2 commit 74812d0

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.github/workflows/build-binaries.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- run: poe fix-wheel
6161

6262
# Simple test
63-
- run: poe test-dist-single
63+
- run: uv run pytest -k test_activity_hello
6464

6565
# Upload dist
6666
- uses: actions/upload-artifact@v4

pyproject.toml

-16
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,6 @@ lint-types = "uv run mypy --namespace-packages --check-untyped-defs ."
8989
run-bench = "uv run python scripts/run_bench.py"
9090
test = "uv run pytest"
9191

92-
# Install local, run single pytest with env var, uninstall local
93-
[tool.poe.tasks.test-dist-single]
94-
ignore_fail = "return_non_zero"
95-
# Has to be a child table due to the Python TOML decoder in many default pips
96-
# failing on inline table with "Invalid inline table value encountered" because
97-
# there's a comma (see https://github.com/uiri/toml/issues/348).
98-
99-
[[tool.poe.tasks.test-dist-single.sequence]]
100-
cmd = "uv pip install --no-index --find-links=./dist temporalio"
101-
102-
[[tool.poe.tasks.test-dist-single.sequence]]
103-
cmd = "uv run pytest -k test_activity_hello"
104-
env = { TEMPORAL_INTEGRATION_TEST = "1" }
105-
106-
[[tool.poe.tasks.test-dist-single.sequence]]
107-
cmd = "uv pip uninstall temporalio -y"
10892

10993
[tool.pytest.ini_options]
11094
asyncio_mode = "auto"

0 commit comments

Comments
 (0)