Skip to content

Chore/difficulty function build #155

Chore/difficulty function build

Chore/difficulty function build #155

Workflow file for this run

name: Run integration tests
on:
pull_request:
branches: ["*"]
permissions:
contents: read
security-events: write
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:
needs: integration-tests
if: always()
uses: ./.github/workflows/slack-msg.yml
with:
heading: ${{ contains(needs.*.result, 'failure') && 'Tests Failed :red_circle:' || 'Tests Passed :large_green_circle:' }}
info: "PR: *${{ github.event.pull_request.title }}* / Branch: *${{ github.event.pull_request.head.ref }}*"
url: "${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
secrets:
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}