Skip to content

Commit

Permalink
Update CI workflow to run tests with google service account
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Dec 11, 2023
1 parent a915930 commit ba002f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@ jobs:
bundle install --jobs 4 --retry 3
- name: Run linter
run: bundle exec rubocop
- run: 'echo "$GOOGLE_APPLICATION_CREDENTIALS" > account_secret.json'
shell: bash
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
- name: Run tests
run: bundle exec rake test
env:
GOOGLE_APPLICATION_CREDENTIALS: 'account_secret.json'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ ad_localize/tmp/
.ruby-version
pkg/
exports/
account_secret.json

0 comments on commit ba002f1

Please sign in to comment.