Skip to content

Commit f31137a

Browse files
committed
ci rexml: add a workflow to test unreleased REXML periodically
1 parent 8c5029e commit f31137a

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/rexml.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: REXML
2+
on:
3+
schedule:
4+
- cron: |
5+
0 0 * * 0
6+
workflow_dispatch:
7+
jobs:
8+
test:
9+
name: ${{ matrix.runs-on }}
10+
runs-on: ${{ matrix.runs-on }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
runs-on:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
env:
19+
RSS_REXML_PATH: ${{ github.workspace }}/rexml
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v4
23+
with:
24+
path: rexml
25+
repository: ruby/rexml
26+
- uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ruby
29+
bundler-cache: true
30+
- name: Test
31+
run: bundle exec rake test

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
55
# Specify your gem's dependencies in rss.gemspec
66
gemspec
77

8+
rexml_path = ENV["RSS_REXML_PATH"]
9+
if rexml_path
10+
gem "rexml", path: rexml_path
11+
end
12+
813
group :development do
914
gem "bundler"
1015
gem "rake"

0 commit comments

Comments
 (0)