summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-07-28 21:48:04 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-07-28 21:48:04 -0700
commit0f4fa8f573c5b8333b6f1c3ffd61dda35b2affae (patch)
tree6bca063803d0ce673be29d904435766f13f9d468 /.github
parent8ba97aa459420ec5ae824d9299d6564656841559 (diff)
downloadgitlab-jlvillal/create_config.tar.gz
test(ci): create a dummy ~/.python-gitlab.cfg filejlvillal/create_config
Create a working ~/.python-gitlab.cfg file when running the unit tests in the CI. This is to ensure our unit tests still work if a config file exists.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0cbe44a..f8ee64b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -52,6 +52,8 @@ jobs:
python-version: ${{ matrix.python.version }}
- name: Install dependencies
run: pip3 install tox pytest-github-actions-annotate-failures
+ - name: Setup dummy config
+ run: tests/ci_tools/setup-dummy-config.sh
- name: Run tests
env:
TOXENV: ${{ matrix.python.toxenv }}