Skip to content

Commit 6355201

Browse files
Merge pull request #1561 from freeCodeCamp/actions-test
GitHub Actions: test pull requests
2 parents 336377c + 485ff38 commit 6355201

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Ruby tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/[email protected]
13+
- name: Set up Ruby
14+
uses: ruby/[email protected]
15+
with:
16+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
17+
- name: Run tests
18+
run: bundle exec rake

0 commit comments

Comments
 (0)