Skip to content

Commit

Permalink
GH actions: test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed May 29, 2024
1 parent 8371049 commit 4e5fe4c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Tests

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: wasm32-unknown-unknown
- uses: arduino/setup-protoc@v1
with:
version: '3.x'
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --target wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: test

0 comments on commit 4e5fe4c

Please sign in to comment.