File tree Expand file tree Collapse file tree 1 file changed +9
-32
lines changed
Expand file tree Collapse file tree 1 file changed +9
-32
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 test :
1111 runs-on : ubuntu-latest
12-
1312 steps :
14- - uses : actions/checkout@v4
15-
16- - name : Set up Python
17- uses : actions/setup-python@v5
18- with :
19- python-version : ' 3.10'
20-
21- - name : Install dependencies
22- run : |
23- pip install -r requirements.txt
24-
25- - name : Run tests
26- run : |
27- python3 -m pytest tests/ -v || python3 -m unittest discover tests/ || echo "No tests found"
28-
29- - name : Lint check
30- run : |
31- pip install flake8
32- flake8 --max-line-length=120 --ignore=E501,W503 . || true
33-
34- docker :
35- runs-on : ubuntu-latest
36-
37- steps :
38- - uses : actions/checkout@v4
39-
40- - name : Build Docker image
41- run : docker build -t app .
42-
43- - name : Test Docker
44- run : docker run --rm app python3 --version
13+ - uses : actions/checkout@v4
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.10'
18+ - name : Install dependencies
19+ run : pip install -r requirements.txt
20+ - name : Run tests
21+ run : python3 -m pytest tests/ -v || echo "No tests"
You can’t perform that action at this time.
0 commit comments