-
Notifications
You must be signed in to change notification settings - Fork 112
46 lines (44 loc) · 1.03 KB
/
Copy pathtests.yml
File metadata and controls
46 lines (44 loc) · 1.03 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
name: Tests
permissions:
contents: read
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
schedule:
# 00:00 on the 1st of every month
- cron: '0 0 1 * *'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['3.2', '3.3', '3.4', '4.0', 'jruby-10.0']
env:
BUNDLE_WITHOUT: optional
steps:
- uses: actions/checkout@v6.0.1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Tests for Ruby ${{ matrix.ruby }}
run: bundle exec rake
- uses: qltysh/qlty-action/coverage@v2
with:
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: coverage/.resultset.json
yard:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: optional
steps:
- uses: actions/checkout@v6.0.1
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Build YARD docs
run: bundle exec yard doc --fail-on-warning