Sha256: f695be55bf4505d0369c476ed858d8f3a9f229130fe4196efe6f163b6a364393
Contents?: true
Size: 1.95 KB
Versions: 1
Compression:
Stored size: 1.95 KB
Contents
name: Ruby CI on: push: branches: [main] pull_request: branches: [main] jobs: test: runs-on: ubuntu-20.04 strategy: matrix: rubygems: [ { ruby: "3.2", appraisal: "rails-7.0" }, { ruby: "3.1", appraisal: "rails-7.0" }, { ruby: "3.0", appraisal: "rails-7.0" }, { ruby: "2.7", appraisal: "rails-7.0" }, { ruby: "2.7", appraisal: "rails-6.1" }, { ruby: "2.6", appraisal: "rails-6.1" } ] steps: - uses: actions/checkout@v3.5.2 - name: Run Collector run: docker-compose up -d - name: Set up Ruby ${{ matrix.rubygems.ruby }} uses: ruby/setup-ruby@v1.149.0 with: ruby-version: ${{ matrix.rubygems.ruby }} - name: Apply RubyGems fixes run: gem update --system - name: Ensure we have modern bundler run: gem install bundler -v '~> 2.3.26' - name: Install dependencies run: bundle _2.3.26_ - name: Verify nokogiri run: bundle exec nokogiri -v - name: Install appraisal dependencies run: bundle exec appraisal install - name: Rubocop run: bundle exec rubocop - name: Run tests run: bundle exec appraisal ${{ matrix.rubygems.appraisal }} rake test - name: Upload coverage to Codecov uses: codecov/codecov-action@v3.1.3 - name: Run basic example e2e test run: ruby console.rb working-directory: ./examples/basic/ env: TEST: true test-e2e-rails-7-barebones: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3.5.2 - name: Run e2e tests via Docker working-directory: ./examples/rails-7-barebones run: docker-compose up --build --exit-code-from tester linkChecker: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3.5.2 - name: Link Checker uses: lycheeverse/lychee-action@v1.7.0 with: fail: true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
splunk-otel-1.1.3 | .github/workflows/main.yml |