-
Notifications
You must be signed in to change notification settings - Fork 237
59 lines (56 loc) · 1.75 KB
/
installation-tests.yml
File metadata and controls
59 lines (56 loc) · 1.75 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# This workflow is intended to catch issues with installation issues after a release
# If the jobs fail that means users will not be able to install the latest version of gems
# You may have to update and release gems that fail to install
name: Installation Tests
on:
workflow_dispatch:
push:
branches:
- main
paths: &path_filters
- ".github/workflows/installation-tests.yml"
- "releases/**"
pull_request:
branches:
- main
paths: *path_filters
schedule:
# Everyday at 2 PM UTC
- cron: "0 14 * * *"
permissions:
contents: read
jobs:
installation-tests:
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
strategy:
fail-fast: false
matrix:
ruby-version:
- 4.0
- 3.4
- 3.3
- 3.2
name: ${{ matrix.ruby-version }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1.295.0
with:
ruby-version: ${{ matrix.ruby-version }}
- name: "Install Latest Gem Versions on ${{ matrix.ruby-version }}"
working-directory: releases
run: ./run.sh
installation-latest-tests:
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
strategy:
fail-fast: false
name: Latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@319994f95fa847cf3fb3cd3dbe89f6dcde9f178f # v1.295.0
with:
ruby-version: 4.0.1
- name: "Install Latest Gem Versions on Latest Ruby"
working-directory: releases
run: ./run.sh