Skip to content

feat(web): Prometheus metrics endpoints for subscriptions observability #344

feat(web): Prometheus metrics endpoints for subscriptions observability

feat(web): Prometheus metrics endpoints for subscriptions observability #344

Workflow file for this run

name: Run tests
on:
push:
branches-ignore: [ release ]
pull_request:
branches: [ main release ]
jobs:
build:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.3', '3.4', '4.0']
steps:
- uses: actions/checkout@v5
- name: Set up Ruby
if: ${{ !steps.skip-workflow.outputs.skip }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run PostgreSQL
if: ${{ !steps.skip-workflow.outputs.skip }}
run: docker compose up --detach
- name: Install rbs collection
if: ${{ !steps.skip-workflow.outputs.skip }}
run: |
bundle exec rbs collection install
- name: Run tests
if: ${{ !steps.skip-workflow.outputs.skip }}
run: |
sleep 10
bundle exec rake compile
./bin/setup_db
TEST_COVERAGE=true ./bin/rspec