Skip to content

Commit

Permalink
Add Github action to run tests
Browse files Browse the repository at this point in the history
palfrey committed Aug 8, 2021
1 parent 0900ee7 commit e470775
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
pull_request:

name: Continuous integration

jobs:
test:
name: Test suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v2.3.4
- name: Install capnproto
run: sudo apt-get install capnproto libcapnp-dev
- uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: Swatinem/rust-cache@v1
- name: Build and test
uses: actions-rs/cargo@v1.0.3
with:
command: test

0 comments on commit e470775

Please sign in to comment.