Skip to content

Commit

Permalink
Merge pull request hyperledger-archives#12 from Cargill/add-gha
Browse files Browse the repository at this point in the history
Add GitHub Actions workflow files
  • Loading branch information
rbuysse committed May 13, 2021
2 parents 1529408 + 168b261 commit 41e7ff8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 2021 Cargill Incorporated
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: CI

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always
ISOLATION_ID: latest

jobs:

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

- name: Lint SaplingJS
run: docker-compose -f docker/compose/run-lint.yaml up --abort-on-container-exit lint-saplingjs

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

- name: Test SaplingJS
run: docker-compose -f tests/test-splinter.yaml up --abort-on-container-exit unit-test-saplingjs

0 comments on commit 41e7ff8

Please sign in to comment.