Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
clehner committed Aug 28, 2020
1 parent 948b7a7 commit 15fa92b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ci

on:
pull_request:
branches:
- master
push:
branches:
- master

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build
run: cargo build --verbose

- name: Test
run: cargo test --verbose

- name: Test vc-test-suite
run: |
cd ..
git clone https://github.com/w3c/vc-test-suite --depth 1
cd vc-test-suite
npm i
cp ../ssi/src/bin/ssi-vc-test/config.json .
npm test

0 comments on commit 15fa92b

Please sign in to comment.