Skip to content

[#1207] fix codecov run #2

[#1207] fix codecov run

[#1207] fix codecov run #2

Workflow file for this run

---
name: codecov
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y postgresql-14
sudo ln -s /usr/lib/postgresql/14/bin/initdb /bin/initdb
sudo ln -s /usr/lib/postgresql/14/bin/postgres /bin/postgres
- uses: actions/setup-ruby@v1
with:
ruby-version: 3.0
- run: bundle update
- run: bundle exec rake
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true