Skip to content

Commit a6cbaf7

Browse files
committed
add github workflow running the test suite
1 parent d39c7f3 commit a6cbaf7

File tree

2 files changed

+32
-13
lines changed

2 files changed

+32
-13
lines changed

.github/workflows/nix.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
RSpec:
7+
runs-on: ubuntu-latest
8+
env:
9+
BF_MAINNET_PROJECT_ID: ${{ secrets.BF_MAINNET_PROJECT_ID }}
10+
BF_TESTNET_PROJECT_ID: ${{ secrets.BF_PREVIEW_PROJECT_ID }}
11+
BF_IPFS_PROJECT_ID: ${{ secrets.BF_IPFS_PROJECT_ID }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
ruby:
16+
- "3.0"
17+
- "3.1"
18+
- "3.2"
19+
- "3.3"
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Set up Ruby
23+
uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: ${{ matrix.ruby }}
26+
bundler-cache: true
27+
- name: Run tests & publish code coverage
28+
uses: paambaati/codeclimate-action@v3.2.0
29+
env:
30+
CC_TEST_REPORTER_ID: 3ae045b12de0f507d7592d877988b90fef72c273bb3a31289abf3dc1becf8439
31+
with:
32+
coverageCommand: bundle exec rspec

0 commit comments

Comments
 (0)