-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (31 loc) · 818 Bytes
/
ruby.yml
File metadata and controls
37 lines (31 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build and test rspec-trunk-flaky-tests
on:
push:
branches:
- main
tags:
- "*"
pull_request: {}
workflow_dispatch: {}
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
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: rspec-trunk-flaky-tests
env:
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io
TRUNK_ORG_URL_SLUG: trunk-staging-org
TRUNK_API_TOKEN: ${{ secrets.TRUNK_STAGING_ORG_API_TOKEN }}