File tree Expand file tree Collapse file tree 2 files changed +3
-39
lines changed Expand file tree Collapse file tree 2 files changed +3
-39
lines changed Original file line number Diff line number Diff line change @@ -51,48 +51,12 @@ jobs:
51
51
52
52
- run : pip freeze
53
53
54
- - run : mkdir coverage
55
-
56
54
- run : make test
57
55
env :
58
- COVERAGE_FILE : coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-with-deps
59
56
CONTEXT : ${{ runner.os }}-py${{ matrix.python-version }}-with-deps
60
57
61
- - name : store coverage files
62
- uses : actions/upload-artifact@v3
63
- with :
64
- name : coverage
65
- path : coverage
66
-
67
- coverage-combine :
68
- needs : [test]
69
- runs-on : ubuntu-latest
70
-
71
- steps :
72
- - uses : actions/checkout@v3
73
-
74
- - uses : actions/setup-python@v4
75
- with :
76
- python-version : ' 3.8'
77
-
78
- - name : get coverage files
79
- uses : actions/download-artifact@v3
80
- with :
81
- name : coverage
82
- path : coverage
83
-
84
- - run : pip install coverage[toml]
85
-
86
- - run : ls -la coverage
87
- - run : coverage combine coverage
88
- - run : coverage report
89
- - run : coverage html --show-contexts --title "pydantic coverage for ${{ github.sha }}"
90
-
91
- - name : Store coverage html
92
- uses : actions/upload-artifact@v3
93
- with :
94
- name : coverage-html
95
- path : htmlcov
58
+ - run : coverage xml
59
+ - uses : codecov/codecov-action@v3
96
60
97
61
# https://github.com/marketplace/actions/alls-green#why used for branch protection checks
98
62
check :
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ classifiers = [
39
39
]
40
40
requires-python = ' >=3.7'
41
41
dependencies = [
42
- ' pydantic>=2.0b1 ' ,
42
+ ' pydantic>=2.0b3 ' ,
43
43
]
44
44
dynamic = [' version' ]
45
45
You can’t perform that action at this time.
0 commit comments