Skip to content

Commit

Permalink
Merge pull request #15 from waddlaw/add-ci
Browse files Browse the repository at this point in the history
Add CI
  • Loading branch information
fumieval authored Feb 15, 2021
2 parents 10cbad0 + 70fdbfe commit d5c977c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ci

on:
push:
branches: [master]
pull_request:
branches: ['*']

jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15]
ghc: ["8.6", "8,8", "8.10", "9.0"]
cabal: ["3.2"]

steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}

- name: Cache cabal stuff
uses: actions/cache@v2
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}

- run: cabal update

- name: Build & Test webauthn
run: |
cabal build
cabal test
cabal haddock
5 changes: 3 additions & 2 deletions test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ tests = testGroup "Tests" [androidTests]
androidTests :: TestTree
androidTests = testGroup "WebAuthn Tests"
[
androidCredentialTest
, packedSelfAttestedTest
-- See: https://github.com/fumieval/webauthn/issues/9
-- androidCredentialTest
packedSelfAttestedTest
, packedNonSelfAttestedTest
, fidoU2FAttestedTest
, registrationTest
Expand Down

0 comments on commit d5c977c

Please sign in to comment.