Skip to content

feat(python): add ASGI support (Django) #3131

feat(python): add ASGI support (Django)

feat(python): add ASGI support (Django) #3131

Workflow file for this run

name: ruby
on:
push:
branches:
- main
pull_request:
jobs:
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci --ignore-scripts
- run: make test-metrics-ruby-rails
- run: make test-webhooks-ruby-rails
- name: Cleanup
if: always()
run: docker compose down
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/ruby
strategy:
matrix:
ruby-version:
# https://endoflife.date/ruby
- 3.1 # EOL: March 31th, 2025
- 3.2 # EOL: March 31th, 2026
- 3.3 # EOL: March 31th, 2027
rack-version:
# This will install the latest v2
- -v '>= 2.2' -v '< 3'
# This will install the latest v3
- -v '>= 2.2' -v '< 4'
name: build (${{ matrix.ruby-version }} w/ Rack ${{ matrix.rack-version }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: |
make install
gem install rack ${{ matrix.rack-version }}
- name: Run linter
run: make lint
- name: Run tests
run: make test