File tree Expand file tree Collapse file tree 6 files changed +22
-16
lines changed
Expand file tree Collapse file tree 6 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 Build :
14- runs-on : ubuntu-20.04
14+ runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v2
17+ - name : Dependencies
18+ uses : astral-sh/setup-uv@v6
1719 - name : Install
1820 run : |
1921 cd flatdata-generator
2022 # runtime requirements
2123 pip install -r requirements.txt
2224 # CI requirements
23- pip install pytest pylint
25+ pip install pylint
2426 - name : Run tests
2527 run : |
2628 cd flatdata-generator
27- python -m pytest
29+ uv run --with pytest pytest
2830 pip install .
2931 flatdata-generator --help
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 Build :
14- runs-on : ubuntu-20.04
14+ runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v2
17+ - name : Dependencies
18+ uses : astral-sh/setup-uv@v6
1719 - name : Install
1820 run : |
1921 pip install ./flatdata-generator
2022 cd flatdata-py
2123 # runtime requirements
2224 pip install -r requirements.txt
2325 # CI requirements
24- pip install pytest pylint
26+ pip install pylint
2527 - name : Run tests
2628 run : |
2729 cd flatdata-py
28- python -m pytest
30+ uv run --with pytest pytest
2931 pip install .
3032 flatdata-inspector --help
Original file line number Diff line number Diff line change @@ -33,3 +33,9 @@ include = [
3333
3434[tool .hatch .build .targets .wheel ]
3535packages = [" flatdata" ]
36+
37+ [tool .pytest .ini_options ]
38+ testpaths = [ " tests" ]
39+ python_files = [ " test_*.py" ]
40+ python_classes = [ " Test*" ]
41+ python_functions = [ " test_*" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -40,3 +40,9 @@ include = [
4040
4141[tool .hatch .build .targets .wheel ]
4242packages = [" flatdata" ]
43+
44+ [tool .pytest .ini_options ]
45+ testpaths = [ " tests" ]
46+ python_files = [ " test_*.py" ]
47+ python_classes = [ " Test*" ]
48+ python_functions = [ " test_*" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments