File tree 5 files changed +17
-13
lines changed
5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 4
4
build :
5
5
docker :
6
6
# https://circleci.com/docs/2.0/circleci-images/
7
- - image : circleci/python:3.8.1 -buster-browsers
7
+ - image : circleci/python:3.8.3 -buster-browsers
8
8
working_directory : ~/repo
9
9
steps :
10
10
- checkout
11
11
12
12
- restore_cache :
13
13
keys :
14
- - v3 -dependencies-{{ checksum "setup.py" }}
15
- - v3 -dependencies-
14
+ - v4 -dependencies-{{ checksum "setup.py" }}
15
+ - v4 -dependencies-
16
16
17
17
- run :
18
18
name : install dependencies
25
25
- save_cache :
26
26
paths :
27
27
- ./venv
28
- key : v3 -dependencies-{{ checksum "setup.py" }}
28
+ key : v4 -dependencies-{{ checksum "setup.py" }}
29
29
30
30
- run :
31
31
name : run tests
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ jobs:
15
15
run : |
16
16
sudo apt -y update
17
17
sudo apt install -y chromium-chromedriver
18
- - uses : actions/checkout@v1.1.0
19
- - uses : actions/setup-python@v1.1.1
18
+ - uses : actions/checkout@v2
19
+ - uses : actions/setup-python@v2
20
20
with :
21
- python_version : ${{ matrix.python-version }}
21
+ python-version : ${{ matrix.python-version }}
22
22
architecture : x64
23
23
- name : Store pip cache
24
- uses : actions/cache@v1
24
+ uses : actions/cache@v2
25
25
with :
26
26
path : ~/.cache/pip
27
27
key : pip-${{ runner.OS }}-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
@@ -39,12 +39,12 @@ jobs:
39
39
pytest --cov=htexpr --cov-report=html --junitxml=results/pytest/junit.xml tests
40
40
pytest --headless examples
41
41
- name : Upload test report
42
- uses : actions/upload-artifact@v1.0.0
42
+ uses : actions/upload-artifact@v2
43
43
with :
44
44
name : test-report
45
45
path : results
46
46
- name : Upload code coverage
47
- uses : actions/upload-artifact@v1.0.0
47
+ uses : actions/upload-artifact@v2
48
48
with :
49
49
name : coverage-report
50
50
path : htmlcov
Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ exclude = '''
20
20
21
21
[build-system ]
22
22
requires = [" setuptools" , " wheel" ]
23
+
24
+ [tool .pytest .ini_options ]
25
+ junit_family = " xunit2"
Original file line number Diff line number Diff line change
1
+ [pytest]
2
+ junit_family =xunit2
Original file line number Diff line number Diff line change 17
17
"dash-bootstrap-components>=0.7.2,<0.11" ,
18
18
]
19
19
test_requirements = [
20
- "pytest~=5.3.0 " ,
20
+ "pytest~=5.4.3 " ,
21
21
"pytest-cov>=2.8.1,<2.11.0" ,
22
- # workaround for newer pytest:
23
- # "pytest-sugar @ git+https://github.com/GuillaumeFavelier/pytest-sugar.git@b56fed42d5c3022ff507ab6ce81cda65a3a5f92a#egg=pytest-sugar",
22
+ "pytest-sugar~=0.9.3" ,
24
23
"dash-core-components>=0.44,<1.11" ,
25
24
"dash[testing]>=1.0.0,<1.14" ,
26
25
"dash-html-components>=0.14,<1.1" ,
You can’t perform that action at this time.
0 commit comments