Skip to content

--yes for apt-get install #251

--yes for apt-get install

--yes for apt-get install #251

Workflow file for this run

---
name: codecov
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update --yes --fix-missing
sudo apt-get install --yes 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: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- run: bundle config set --global path "$(pwd)/vendor/bundle"
- run: bundle install
- run: bundle exec rake
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true