File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 11name : Python package
22
3- on : [push, pull_request]
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ push :
7+ branches :
8+ - main
49
510jobs :
611 build :
7-
812 runs-on : ubuntu-latest
913 strategy :
1014 max-parallel : 1
@@ -13,16 +17,20 @@ jobs:
1317
1418 steps :
1519 - uses : actions/checkout@v4
20+
1621 - name : Set up Python ${{ matrix.python-version }}
1722 uses : actions/setup-python@v5
1823 with :
1924 python-version : ${{ matrix.python-version }}
25+
2026 - name : Install dependencies
2127 run : |
2228 python -m pip install --upgrade pip
2329 pip install -r requirements.txt
2430 pip install -r dev-requirements.txt
31+
2532 - name : Launch tests
2633 run : python setup.py test
34+
2735 - name : Launch Linting
2836 run : flake8 --show-source --statistics
You can’t perform that action at this time.
0 commit comments