File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3-
43name : Python package
5-
64on :
75 push :
86 branches : [ "main" ]
97 pull_request :
108 branches : [ "main" ]
11-
129jobs :
1310 build :
14-
1511 runs-on : ubuntu-latest
1612 strategy :
1713 fail-fast : false
1814 matrix :
1915 python-version : ["3.9", "3.10", "3.11"]
20-
2116 steps :
2217 - uses : actions/checkout@v4
2318 - name : Set up Python ${{ matrix.python-version }}
2924 python -m pip install --upgrade pip
3025 python -m pip install flake8 pytest
3126 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27+ # Install the package in development mode
28+ pip install -e .
3229 - name : Lint with flake8
3330 run : |
3431 # stop the build if there are Python syntax errors or undefined names
You can’t perform that action at this time.
0 commit comments