File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+ name : Check
5+
6+ on : [push, pull_request]
7+
8+ jobs :
9+ build :
10+
11+ runs-on : ubuntu-latest
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ python-version : [3.7, 3.8, 3.9]
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v2
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install poetry
27+ poetry install
28+ - name : Black source code formating check
29+ run : |
30+ poetry run black --check .
You can’t perform that action at this time.
0 commit comments