Skip to content

Commit 080f474

Browse files
authored
Merge pull request #156 from puppetlabs/travis
Move to GHA
2 parents d2e1fcd + d29d486 commit 080f474

File tree

2 files changed

+29
-17
lines changed

2 files changed

+29
-17
lines changed

.github/workflows/rspec.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
permissions:
10+
contents: read
11+
12+
defaults:
13+
run:
14+
working-directory: tests
15+
16+
jobs:
17+
test:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: '3.1'
25+
bundler-cache: true
26+
- name: Bundle install
27+
run: bundle install
28+
- name: Run tests
29+
run: bundle exec rspec -fd

.travis.yml

-17
This file was deleted.

0 commit comments

Comments
 (0)