Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit c4543b6

Browse files
authored
Merge pull request #1966 from bjones1/docker-tests
Clean: Make docker tests more consistent.
2 parents 151b2f8 + f58a3b5 commit c4543b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
echo "Checking if site is up..."
5151
curl --silent --location 127.0.0.1 | grep "About Runestone"
5252
# Test just the Runestone server.
53-
docker-tools test --no-bks --no-rc
53+
docker-tools test --rs

docker/docker_tools_misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def reloadbks() -> None:
180180
"--rc/--no-rc", default=False, help="Run/skip tests on the Runestone components."
181181
)
182182
@click.option(
183-
"--rs/--no-rs", default=True, help="Run/skip tests on the Runestone server."
183+
"--rs/--no-rs", default=False, help="Run/skip tests on the Runestone server."
184184
)
185185
# Allow users to pass args directly to the underlying ``pytest`` command -- see the `click docs <https://click.palletsprojects.com/en/8.0.x/arguments/#option-like-arguments>`_.
186186
@click.argument("passthrough", nargs=-1, type=click.UNPROCESSED)
@@ -194,7 +194,7 @@ def test(bks: bool, rc: bool, rs: bool, passthrough: Tuple) -> None:
194194
ensure_in_docker()
195195
if not bks and not rc and not rs:
196196
sys.exit(
197-
"ERROR: No tests selected to run. Pass any combination of --rs, --rs,\n"
197+
"ERROR: No tests selected to run. Pass any combination of --rc, --rs,\n"
198198
"and/or --bks."
199199
)
200200
_stop_servers()

0 commit comments

Comments
 (0)