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

Appearance settings

Commit fd179d4

Browse filesBrowse files
authored
Merge pull request #1269 from nejch/fix/test-env
chore(ci): bring test environment back to life
2 parents fac0874 + 2de64cf commit fd179d4
Copy full SHA for fd179d4

File tree

Expand file treeCollapse file tree

7 files changed

+135
-109
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

7 files changed

+135
-109
lines changed
Open diff view settings
Collapse file

‎.github/workflows/docs.yml‎

Copy file name to clipboard
+39Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Docs
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
PY_COLORS: 1
7+
8+
jobs:
9+
sphinx:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Set up Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.8
17+
- name: Install dependencies
18+
run: pip install tox
19+
- name: Build docs
20+
env:
21+
TOXENV: docs
22+
run: tox
23+
24+
twine-check:
25+
runs-on: ubuntu-20.04
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Set up Python
29+
uses: actions/setup-python@v2
30+
with:
31+
python-version: 3.8
32+
- name: Install dependencies
33+
run: pip install tox twine wheel
34+
- name: Check twine readme rendering
35+
env:
36+
TOXENV: twine-check
37+
run: |
38+
python3 setup.py sdist bdist_wheel
39+
tox
Collapse file

‎.github/workflows/lint.yml‎

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
PY_COLORS: 1
7+
8+
jobs:
9+
black:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
- uses: psf/black@stable
15+
with:
16+
black_args: ". --check"
17+
commitlint:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 0
23+
- uses: wagoid/commitlint-github-action@v2
Collapse file

‎.github/workflows/test.yml‎

Copy file name to clipboard
+71Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
PY_COLORS: 1
7+
8+
jobs:
9+
unit:
10+
runs-on: ubuntu-20.04
11+
strategy:
12+
matrix:
13+
include:
14+
- python-version: 3.6
15+
toxenv: py36
16+
- python-version: 3.7
17+
toxenv: py37
18+
- python-version: 3.8
19+
toxenv: py38
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Install dependencies
27+
run: pip install tox pytest-github-actions-annotate-failures
28+
- name: Run tests
29+
env:
30+
TOXENV: ${{ matrix.toxenv }}
31+
run: tox
32+
33+
functional:
34+
runs-on: ubuntu-20.04
35+
strategy:
36+
matrix:
37+
toxenv: [py_func_v4, cli_func_v4]
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Set up Python
41+
uses: actions/setup-python@v2
42+
with:
43+
python-version: 3.8
44+
- name: Install dependencies
45+
run: pip install tox pytest-github-actions-annotate-failures
46+
- name: Run tests
47+
env:
48+
TOXENV: ${{ matrix.toxenv }}
49+
run: tox
50+
51+
coverage:
52+
runs-on: ubuntu-20.04
53+
steps:
54+
- uses: actions/checkout@v2
55+
- name: Set up Python ${{ matrix.python-version }}
56+
uses: actions/setup-python@v2
57+
with:
58+
python-version: 3.8
59+
- name: Install dependencies
60+
run: pip install tox pytest-github-actions-annotate-failures
61+
- name: Run tests
62+
env:
63+
PY_COLORS: 1
64+
TOXENV: cover
65+
run: tox
66+
- name: Upload codecov coverage
67+
uses: codecov/codecov-action@v1
68+
with:
69+
files: ./coverage.xml
70+
flags: unit
71+
fail_ci_if_error: true
Collapse file

‎.renovaterc.json‎

Copy file name to clipboardExpand all lines: .renovaterc.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
],
55
"regexManagers": [
66
{
7-
"fileMatch": ["^.env$"],
7+
"fileMatch": ["^tools/functional/fixtures/.env$"],
88
"matchStrings": ["GITLAB_TAG=(?<currentValue>.*?)\n"],
99
"depNameTemplate": "gitlab/gitlab-ce",
1010
"datasourceTemplate": "docker",
Collapse file

‎.travis.yml‎

Copy file name to clipboardExpand all lines: .travis.yml
-108Lines changed: 0 additions & 108 deletions
This file was deleted.
Collapse file

‎docker-requirements.txt‎

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-r requirements.txt
22
-r test-requirements.txt
3+
docker-compose==1.28.2 # prevent inconsistent .env behavior from system install
34
pytest-console-scripts
45
pytest-docker
File renamed without changes.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.