Skip to content

Add ci

Add ci #2

Workflow file for this run

name: Test and coverage
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 2
- uses: actions/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install Ruby dependencies
run: bundle update --bundler && bundle install
- name: Install shunit2
run: sudo apt install -y shunit2
- name: Run script
run: bashcov test/test_modified_branch_files_test.sh && bashcov test/open_coverage_test.sh
- name: Upload reports to Codecov
uses: codecov/codecov-action@v2