Skip to content

Commit 6f768d5

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

File tree

2 files changed

+31
-13
lines changed

2 files changed

+31
-13
lines changed

.github/workflows/nix.yaml

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

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)