-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Test | ||
|
||
on: push | ||
|
||
jobs: | ||
test: | ||
name: Run tests | ||
|
||
runs-on: ubuntu-latest | ||
env: | ||
RAILS_ENV: test | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler: 1.17.2 | ||
bundler-cache: true | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3.5.1 | ||
with: | ||
node-version: '14.x' | ||
|
||
- name: Install bower | ||
run: npm install -g bower | ||
|
||
- name: Install bowndler packages | ||
run: bundle exec bowndler install && bundle exec bowndler update | ||
|
||
- name: Run npm install | ||
run: npm install | ||
|
||
- name: Run cucumber tests | ||
run: bundle exec cucumber | ||
|
||
- name: Run tests | ||
run: bundle exec rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters