Skip to content

Commit

Permalink
try using WD_CHROME_PATH for webdrivers
Browse files Browse the repository at this point in the history
  • Loading branch information
rococodogs committed Aug 21, 2024
1 parent c5c9150 commit 7114a48
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ jobs:
with:
install-dependencies: true
install-chromedriver: true
-
name: Get Chrome bin directory
id: chrome-bin-directory
run:
echo "dirname=$(dirname ${{ steps.setup-chrome.outputs.chrome-path }})" >> "$GITHUB_OUTPUT"
-
name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -156,9 +151,10 @@ jobs:
run: bundle exec rake db:migrate
-
name: Run tests
env:
WD_CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}
run: |
mkdir /tmp/test-results
export PATH="${{ steps.chrome-bin-directory.outputs.dirname }}:$PATH"
bundle exec rspec --backtrace --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format progress
-
name: Publish RSpec report
Expand Down

0 comments on commit 7114a48

Please sign in to comment.