We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09bcc72 commit 8db7edbCopy full SHA for 8db7edb
.github/workflows/test.yaml
@@ -17,14 +17,20 @@ jobs:
17
cache: true
18
- name: Install dependencies
19
run: pdm install
20
- - name: Run tests
21
- run: pdm run test
+ - name: Run tests with retry
+ uses: nick-invision/retry@v3
22
+ with:
23
+ timeout_minutes: 10
24
+ max_attempts: 3
25
+ command: pdm run test
26
- name: Send failure email
27
if: failure()
28
uses: dawidd6/action-send-mail@v3
29
with:
30
subject: Test Failure in ${{ github.repository }}
31
body: The test for ${{ github.repository }} failed.
- to: [email protected]
32
+ to: ${{ secrets.MAIL_USERNAME }}
33
from: GitHub
34
server_address: smtp.gmail.com
35
+ server_user: ${{ secrets.MAIL_USERNAME }}
36
+ server_password: ${{ secrets.MAIL_PASSWORD }}
0 commit comments