Skip to content

Commit

Permalink
Add github workflows for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samstickland committed May 24, 2023
1 parent d2e5b73 commit 8b7d8bf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on: push

jobs:
build:
runs-on: ubuntu-latest

env:
ImageOS: ubuntu20
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{ secrets.BUNDLE_RUBYGEMS__PKG__GITHUB__COM }}
BUNDLE_GITHUB__COM: ${{ secrets.BUNDLE_GITHUB__COM }}

steps:
- uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Tests
run: bundle exec ruby test/automated.rb
5 changes: 2 additions & 3 deletions test/automated.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require_relative "./test_init"

TestBench::CLI.(
exclude_file_pattern: %r{/_|sketch|(_init\.rb|_tests\.rb)\z}
)
TestBench::Run.('test/automated')

0 comments on commit 8b7d8bf

Please sign in to comment.