File tree 1 file changed +11
-7
lines changed
1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 24
24
- name : Run ruff format checker
25
25
run : ruff format --check
26
26
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 :
28
36
runs-on : ubuntu-latest
29
37
services :
30
38
postgres :
@@ -40,17 +48,13 @@ jobs:
40
48
steps :
41
49
- uses : actions/checkout@v4
42
50
- 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/
47
51
- name : Run tests
48
52
run : pytest
49
53
50
54
deploy_to_heroku :
51
55
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
54
58
if : false
55
59
steps :
56
60
- uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments