File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 2424 - name : Run ruff format checker
2525 run : ruff format --check
2626
27- build :
27+ typecheck :
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v4
31+ - uses : ./.github/workflows/python_and_pip
32+ - name : Type check
33+ run : mypy --config mypy.ini styleguide_example/
34+
35+ tests :
2836 runs-on : ubuntu-latest
2937 services :
3038 postgres :
@@ -40,17 +48,13 @@ jobs:
4048 steps :
4149 - uses : actions/checkout@v4
4250 - uses : ./.github/workflows/python_and_pip
43- - name : Run ruff
44- run : ruff check .
45- - name : Type check
46- run : mypy --config mypy.ini styleguide_example/
4751 - name : Run tests
4852 run : pytest
4953
5054 deploy_to_heroku :
5155 runs-on : ubuntu-latest
52- needs : build
53- # The project is currently hosted on render.com
56+ needs : [lint_and_format, typecheck, tests]
57+ # The project is currently not hosted anywhere
5458 if : false
5559 steps :
5660 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments