Skip to content

Update codecov CI

Update codecov CI #26

Workflow file for this run

name: Test and Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [ '3.2', '2.7' ]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@5daca165445f0ae10478593083f72ca2625e241d
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
shell: bash
- name: Rubocop Linting
run: bundle exec rubocop
shell: bash
- name: Latex Install
run: sudo apt-get install texlive-luatex && sudo apt-get install texlive
shell: bash
- name: Run tests
run: bundle exec rake
shell: bash
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}