|
44 | 44 | uv sync --all-groups |
45 | 45 | uv pip install uv |
46 | 46 |
|
47 | | - - name: Slack webhook |
48 | | - uses: 8398a7/action-slack@v3 |
49 | | - with: |
50 | | - status: ${{ job.status }} |
51 | | - author_name: fastapi-cookbook |
52 | | - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took |
53 | | - if_mention: failure,cancelled |
54 | | - env: |
55 | | - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }} |
56 | | - if: always() |
57 | | - |
58 | 47 | lint: |
59 | 48 | name: Lint |
60 | 49 | needs: setup |
|
76 | 65 | source .venv/bin/activate |
77 | 66 | make lint |
78 | 67 |
|
79 | | - - name: Slack webhook |
80 | | - uses: 8398a7/action-slack@v3 |
81 | | - with: |
82 | | - status: ${{ job.status }} |
83 | | - author_name: fastapi-cookbook |
84 | | - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took |
85 | | - if_mention: failure,cancelled |
86 | | - env: |
87 | | - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }} |
88 | | - if: always() |
89 | | - |
90 | 68 | test-sqlite: |
91 | 69 | name: Test SQLite |
92 | 70 | needs: lint |
@@ -120,17 +98,6 @@ jobs: |
120 | 98 | flags: sqlite |
121 | 99 | token: ${{ secrets.CODECOV_TOKEN }} |
122 | 100 |
|
123 | | - - name: Slack webhook |
124 | | - uses: 8398a7/action-slack@v3 |
125 | | - with: |
126 | | - status: ${{ job.status }} |
127 | | - author_name: fastapi-cookbook |
128 | | - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took |
129 | | - if_mention: failure,cancelled |
130 | | - env: |
131 | | - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }} |
132 | | - if: always() |
133 | | - |
134 | 101 | test-mysql: |
135 | 102 | env: |
136 | 103 | DB_ROOT: "password" |
@@ -199,17 +166,6 @@ jobs: |
199 | 166 | flags: mysql |
200 | 167 | token: ${{ secrets.CODECOV_TOKEN }} |
201 | 168 |
|
202 | | - - name: Slack webhook |
203 | | - uses: 8398a7/action-slack@v3 |
204 | | - with: |
205 | | - status: ${{ job.status }} |
206 | | - author_name: fastapi-cookbook |
207 | | - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took |
208 | | - if_mention: failure,cancelled |
209 | | - env: |
210 | | - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }} |
211 | | - if: always() |
212 | | - |
213 | 169 | test-postgresql: |
214 | 170 | env: |
215 | 171 | DB_TYPE: "postgresql" |
@@ -267,14 +223,3 @@ jobs: |
267 | 223 | with: |
268 | 224 | flags: postgresql |
269 | 225 | token: ${{ secrets.CODECOV_TOKEN }} |
270 | | - |
271 | | - - name: Slack webhook |
272 | | - uses: 8398a7/action-slack@v3 |
273 | | - with: |
274 | | - status: ${{ job.status }} |
275 | | - author_name: fastapi-cookbook |
276 | | - fields: repo,message,commit,author,action,eventName,ref,workflow,job,took |
277 | | - if_mention: failure,cancelled |
278 | | - env: |
279 | | - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CHECK }} |
280 | | - if: always() |
0 commit comments