Skip to content

Commit

Permalink
Add name to GH actions (#744)
Browse files Browse the repository at this point in the history
* Add name to GH actions and update unit test task names
  • Loading branch information
msquee authored Dec 8, 2020
1 parent 918f7f2 commit 2b97650
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,37 @@ on:

jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest

steps:
- name: checkout
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
- name: Setup Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: '2.5'
- uses: actions/cache@v2
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('apps/*/Gemfile.lock') }}
- name: setup bundler
- name: Setup Bundler
run: |
gem install bundler -v 1.17.3
bundle config path ~/vendor/bundle
- name: shellcheck
- name: Run ShellCheck
run: rake test:shellcheck
- name: unit tests
- name: Run unit tests
run: rake test:unit

e2e-tests:
name: End-to-end tests
runs-on: ubuntu-latest
needs: unit-tests

steps:
- name: checkout
- name: Checkout
uses: actions/checkout@v2
- name: e2e tests
run: rake test:e2e
- name: Run E2E tests
run: rake test:e2e

0 comments on commit 2b97650

Please sign in to comment.