Skip to content

Commit

Permalink
Add GitHub Actions workflow files
Browse files Browse the repository at this point in the history
The Splinter project is working to transition from Travis CI to
GitHub Actions.

Signed-off-by: Ryan Beck-Buysse <rbuysse@bitwise.io>
  • Loading branch information
rbuysse committed May 7, 2021
1 parent 1529408 commit 168b261
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 168b261

Please sign in to comment.