Skip to content

User Wallet Update #133

User Wallet Update

User Wallet Update #133

Workflow file for this run

name: Run integration tests
on:
pull_request:
branches: ["*"]
jobs:
integration-tests:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
id: toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Clippy check
timeout-minutes: 30
run: cargo clippy --all-targets --all-features -- -Dwarnings
- name: Run integration tests
timeout-minutes: 30
run: cargo test --release -- --test-threads=1
slack-notification-success:
needs: integration-tests
if: success()
uses: ./.github/workflows/slack-msg.yml
with:
heading: "Tests Passed :large_green_circle:"
info: "PR: *${{ github.event.pull_request.title }}* / Branch: *${{ github.event.pull_request.head.ref }}*"
secrets:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
slack-notification-failure:
needs: integration-tests
if: failure()
uses: ./.github/workflows/slack-msg.yml
with:
heading: "Tests Failed :red_circle:"
info: "PR: *${{ github.event.pull_request.title }}* / Branch: *${{ github.event.pull_request.head.ref }}*"
secrets:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}