We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42d4393 commit a257de8Copy full SHA for a257de8
1 file changed
.github/workflows/integration-tests.yml
@@ -0,0 +1,25 @@
1
+name: integration-tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+jobs:
8
+ ci:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: dtolnay/rust-toolchain@stable
14
15
+ - run: cargo build
16
+ - run: cargo test -- --nocapture
17
18
+ - if: failure()
19
+ run: |
20
+ git config user.email "integration-tests@github.com"
21
+ git config user.name "Integration Tests"
22
+ git revert HEAD --no-edit
23
+ git push
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments