Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8cf5cd9

Browse files
chore: change name of API functional test toapi_func_v4
The CLI test is `cli_func_v4` and using `api_func_v4` matches withthat naming convention.
1 parente772248 commit8cf5cd9

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

‎.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
runs-on:ubuntu-20.04
6262
strategy:
6363
matrix:
64-
toxenv:[py_func_v4, cli_func_v4]
64+
toxenv:[api_func_v4, cli_func_v4]
6565
steps:
6666
-uses:actions/checkout@v3
6767
-name:Set up Python

‎CONTRIBUTING.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ To run these tests:
8989
tox -e cli_func_v4
9090
9191
# run the python API tests:
92-
tox -epy_func_v4
92+
tox -eapi_func_v4
9393
9494
When developing tests it can be a little frustrating to wait for GitLab to spin
9595
up every run. To prevent the containers from being cleaned up afterwards, pass
9696
`--keep-containers` to pytest, i.e.:
9797

9898
..code-block::bash
9999
100-
tox -epy_func_v4 -- --keep-containers
100+
tox -eapi_func_v4 -- --keep-containers
101101
102102
If you then wish to test against a clean slate, you may perform a manual clean
103103
up of the containers by running:
@@ -117,11 +117,11 @@ The tag must match an exact tag on Docker Hub:
117117
..code-block::bash
118118
119119
# run tests against `nightly` or specific tag
120-
GITLAB_TAG=nightly tox -epy_func_v4
121-
GITLAB_TAG=12.8.0-ce.0 tox -epy_func_v4
120+
GITLAB_TAG=nightly tox -eapi_func_v4
121+
GITLAB_TAG=12.8.0-ce.0 tox -eapi_func_v4
122122
123123
# run tests against the latest gitlab EE image
124-
GITLAB_IMAGE=gitlab/gitlab-ee tox -epy_func_v4
124+
GITLAB_IMAGE=gitlab/gitlab-ee tox -eapi_func_v4
125125
126126
A freshly configured gitlab container will be available at
127127
http://localhost:8080 (login ``root`` / password ``5iveL!fe``). A configuration

‎codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ coverage:
77
range:"70...100"
88

99
comment:
10-
after_n_builds:3# coverage,py_func_v4, py_func_cli
10+
after_n_builds:3# coverage,api_func_v4, py_func_cli
1111
layout:"diff,flags,files"
1212
behavior:default
1313
require_changes:yes

‎tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ deps = -r{toxinidir}/requirements-docker.txt
106106
commands =
107107
pytest --script-launch-mode=subprocess --cov --cov-report xml tests/functional/cli {posargs}
108108

109-
[testenv:py_func_v4]
109+
[testenv:api_func_v4]
110110
deps = -r{toxinidir}/requirements-docker.txt
111111
commands =
112112
pytest --cov --cov-report xml tests/functional/api {posargs}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp