File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 -e py_func_v4
92+ tox -e api_func_v4
9393
9494 When developing tests it can be a little frustrating to wait for GitLab to spin
9595up 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 -e py_func_v4 -- --keep-containers
100+ tox -e api_func_v4 -- --keep-containers
101101
102102 If you then wish to test against a clean slate, you may perform a manual clean
103103up 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 -e py_func_v4
121- GITLAB_TAG=12.8.0-ce.0 tox -e py_func_v4
120+ GITLAB_TAG=nightly tox -e api_func_v4
121+ GITLAB_TAG=12.8.0-ce.0 tox -e api_func_v4
122122
123123 # run tests against the latest gitlab EE image
124- GITLAB_IMAGE=gitlab/gitlab-ee tox -e py_func_v4
124+ GITLAB_IMAGE=gitlab/gitlab-ee tox -e api_func_v4
125125
126126 A freshly configured gitlab container will be available at
127127http://localhost:8080 (login ``root `` / password ``5iveL!fe ``). A configuration
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ coverage:
77 range : " 70...100"
88
99comment :
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
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ deps = -r{toxinidir}/requirements-docker.txt
106106commands =
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 ]
110110deps = -r{toxinidir}/requirements-docker.txt
111111commands =
112112 pytest --cov --cov-report xml tests/functional/api {posargs}
You can’t perform that action at this time.
0 commit comments