Skip to content

Commit

Permalink
ci: gh action for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed Apr 11, 2024
1 parent f9bdb40 commit 2c59439
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ic-backend-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ic_backend tests

# only run when a commit is pushed to the main branch
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
shell: bash
run: rustup show

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: "true"
shared-key: "build-wasm"

- name: Run integration tests
run: ./scripts/integration-test.sh

0 comments on commit 2c59439

Please sign in to comment.