[runner integration - 1] Add support for test report generation #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test context-ruby | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: {} | |
workflow_dispatch: {} | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build: | |
runs-on: public-amd64-2xlarge | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust & Cargo | |
uses: ./.github/actions/setup_rust_cargo | |
- name: Setup Ruby | |
uses: ./.github/actions/setup_ruby | |
- name: Test ruby package | |
if: "!cancelled()" | |
run: | | |
bundle install | |
bundle exec rake test | |
working-directory: context-ruby |