Skip to content

Commit

Permalink
Update cicd test file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wenger committed Feb 16, 2024
1 parent 3797307 commit 70f63e9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Ruby Test

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:
Expand All @@ -15,15 +15,15 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x

- name: Build & test
run: |
gem install bundler:2.3.6
bundle config set --local path 'vendor/bundle'
bundle install
API_USERNAME='${{ secrets.API_USERNAME }}' API_PASSWORD='${{ secrets.API_PASSWORD }}' bundle exec rspec
- name: Build & test
run: |
gem install bundler:2.3.6
bundle config set --local path 'vendor/bundle'
bundle install
API_USERNAME='${{ secrets.API_USERNAME }}' API_PASSWORD='${{ secrets.API_PASSWORD }}' bundle exec rspec

0 comments on commit 70f63e9

Please sign in to comment.