File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 46
46
run : |
47
47
python -m pip install -U pip wheel pytest pytest-cov coverage
48
48
python -m pip install -U .
49
- - name : Run tests
49
+ - name : Run tests using pydantic<2.0.0
50
50
run : |
51
+ python -m pip install 'pydantic<2'
52
+ python -m pytest
53
+ - name : Run tests using pydantic@latest
54
+ run : |
55
+ python -m pip install -U pydantic
51
56
python -m pytest --cov=pydantic2ts
52
57
- name : Generate LCOV File
53
58
if : ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' }}
59
64
with :
60
65
github-token : ${{ secrets.GITHUB_TOKEN }}
61
66
path-to-lcov : coverage.lcov
62
- - name : Install pydantic<2
63
- run : |
64
- python -m pip install 'pydantic<2'
65
- - name : Run tests against pydantic<2
66
- run : |
67
- python -m pytest
68
67
deploy :
69
68
name : Deploy to PyPi
70
69
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments