File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 22
33on :
44 push :
5+ branches : ["main"]
56 pull_request :
7+ branches : ["main"]
68
79jobs :
810 build-and-test :
@@ -21,23 +23,29 @@ jobs:
2123 with :
2224 python-version : ${{ matrix.python-version }}
2325
24- - name : Upgrade pip
25- run : python -m pip install --upgrade pip
26+ - name : Upgrade pip & install build tools
27+ run : |
28+ python -m pip install --upgrade pip setuptools wheel
2629
2730 - name : Install package + dev dependencies
28- run : pip install -e .[dev]
31+ run : |
32+ pip install -e .[dev]
2933
3034 - name : Lint (flake8)
31- run : flake8 src tests
35+ run : |
36+ flake8 src tests
3237
3338 - name : Check formatting (black)
34- run : black --check .
39+ run : |
40+ black --check src tests
3541
3642 - name : Type check (mypy)
37- run : mypy src
43+ run : |
44+ mypy src
3845
39- - name : Run tests with coverage
40- run : pytest --cov=planet_overlap --cov-report=term-missing
46+ - name : Run tests
47+ run : |
48+ pytest --strict-markers --disable-warnings --cov=planet_overlap --cov-report=term-missing
4149
4250 - name : Build distribution
4351 run : |
You can’t perform that action at this time.
0 commit comments