History

Merge pull request #1561 from freeCodeCamp/actions-test

GitHub Actions: test pull requests

Oliver Eyton-Williams committed 5 years ago

Commit 63552012 parents 336377c 485ff381 file · +18 −0Browse files

Unified · Split

.github/workflows/test.yml+18−0
@@ -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/checkout@v2.3.4
13+ - name: Set up Ruby
14+ uses: ruby/setup-ruby@v1.66.1
15+ with:
16+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
17+ - name: Run tests
18+ run: bundle exec rake