File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 41
41
- name : Install dependencies
42
42
run : poetry install --no-root
43
43
- name : Run tox
44
- run : poetry run tox -e flake8
44
+ run : poetry run tox -e flake8 -s false
45
45
46
46
static-code-analysis :
47
47
name : StaticCodingAnalysis (py${{ matrix.python-version}} ${{ matrix.toxenv-factor }})
75
75
- name : Install dependencies
76
76
run : poetry install --no-root
77
77
- name : Run tox
78
- run : poetry run tox -e mypy-${{ matrix.toxenv-factor }}
78
+ run : poetry run tox -e mypy-${{ matrix.toxenv-factor }} -s false
79
79
80
80
build-and-test :
81
81
name : Test (${{ matrix.os }} py${{ matrix.python-version }} ${{ matrix.toxenv-factor }})
98
98
- # test with the lowest dependencies
99
99
os : ' ubuntu-latest'
100
100
python-version : ' 3.6'
101
- toxenv : ' lowest'
101
+ toxenv-factor : ' lowest'
102
102
steps :
103
103
- name : Disabled Git auto EOL CRLF transforms
104
104
run : |
@@ -131,7 +131,7 @@ jobs:
131
131
- name : Generate coverage reports
132
132
run : >
133
133
poetry run coverage report &&
134
- poetry run coverage xml -o ${{ env.REPORTS_DIR }}/coverage-${{ matrix.os }}-${{ matrix.python-version }}.xml &&
134
+ poetry run coverage xml -o ${{ env.REPORTS_DIR }}/coverage-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.toxenv-factor }} .xml &&
135
135
poetry run coverage html -d ${{ env.REPORTS_DIR }}
136
136
- name : Artifact reports
137
137
if : ${{ ! cancelled() }}
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ keywords = [
44
44
# ATTENTION: keep `requirements.lowest.txt` file in sync
45
45
python = " ^3.6"
46
46
packageurl-python = " >= 0.9"
47
- setuptools = " >= 47.0.0"
48
47
importlib-metadata = { version = " >= 3.4" , python = " < 3.8" }
48
+ setuptools = " >= 47.0.0"
49
49
toml = " ^0.10.0"
50
50
51
51
[tool .poetry .dev-dependencies ]
Original file line number Diff line number Diff line change 2
2
# see pyptoject file for ranges
3
3
4
4
packageurl-python == 0.9.0
5
- setuptools == 47.0.0
6
5
importlib-metadata == 3.4.0 # ; python_version < '3.8'
6
+ setuptools == 47.0.0
7
+ types-setuptools == 57.0.0
7
8
toml == 0.10.0
8
- types-setuptools == 57.4.17
9
9
types-toml == 0.10.0
Original file line number Diff line number Diff line change 37
37
if sys .version_info >= (3 , 7 ):
38
38
from jsonschema import ValidationError , validate as json_validate
39
39
40
- if sys .version_info >= (3 , 8 , 0 ):
40
+ if sys .version_info >= (3 , 8 ):
41
41
from importlib .metadata import version
42
42
else :
43
- from importlib_metadata import version # type: ignore
43
+ from importlib_metadata import version
44
44
45
45
cyclonedx_lib_name : str = 'cyclonedx-python-lib'
46
46
cyclonedx_lib_version : str = version (cyclonedx_lib_name )
You can’t perform that action at this time.
0 commit comments