Skip to content

Commit 713a301

Browse files
authored
Merge pull request #289 from MerginMaps/independent_test_runs
Independent test runs
2 parents 9e6aa75 + 59c0fd6 commit 713a301

File tree

3 files changed

+305
-229
lines changed

3 files changed

+305
-229
lines changed

.github/workflows/autotests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Auto Tests
22
on: [push]
33
env:
44
TEST_MERGIN_URL: https://app.dev.merginmaps.com/
5-
TEST_API_USERNAME: test_plugin
6-
TEST_API_PASSWORD: ${{ secrets.MERGINTEST_API_PASSWORD }}
7-
TEST_API_USERNAME2: test_plugin2
8-
TEST_API_PASSWORD2: ${{ secrets.MERGINTEST_API_PASSWORD2 }}
95

106
concurrency:
117
group: ci-${{github.ref}}-autotests

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,12 @@ For running test do:
183183

184184
```bash
185185
cd mergin
186+
# TEST_ related vairables are optional
186187
export TEST_MERGIN_URL=<url> # testing server
187188
export TEST_API_USERNAME=<username>
188189
export TEST_API_PASSWORD=<pwd>
189190
export TEST_API_USERNAME2=<username2>
190191
export TEST_API_PASSWORD2=<pwd2>
191-
# workspace name with controlled available storage space (e.g. 20MB), default value: testpluginstorage
192-
export TEST_STORAGE_WORKSPACE=<workspacename>
193192
pip install pytest pytest-cov coveralls
194193
pytest --cov-report html --cov=mergin mergin/test/
195194
```

0 commit comments

Comments
 (0)