Skip to content

Commit

Permalink
Merge pull request #491 from range-of-motion/fix-chrome-driver-versio…
Browse files Browse the repository at this point in the history
…n-in-ci

Fix Chrome driver version in CI
  • Loading branch information
range-of-motion authored Aug 30, 2024
2 parents 3014825 + 0b86a35 commit 304c816
Show file tree
Hide file tree
Showing 3 changed files with 712 additions and 602 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
- uses: actions/setup-node@v3
with:
node-version: 18
Expand All @@ -89,7 +89,7 @@ jobs:
run: php artisan migrate --database=testing
- name: Run Dusk
run: |
php artisan dusk:chrome-driver $(google-chrome -version | awk '{ print $3 }' | cut -d . -f 1)
nohup bash -c './vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 &'
nohup bash -c 'php artisan serve > /dev/null 2>&1 &'
php artisan dusk:chrome-driver --detect
./vendor/laravel/dusk/bin/chromedriver-linux --port=9515 &
php artisan serve --no-reload &
php artisan dusk
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"doctrine/dbal": "^3.0",
"guzzlehttp/guzzle": "^7.0.1",
"intervention/image": "^2.4",
"laravel/dusk": "^7.0",
"laravel/dusk": "^8.2",
"laravel/framework": "^10.0",
"laravel/tinker": "^2.7",
"livewire/livewire": "^2.3",
Expand Down
Loading

0 comments on commit 304c816

Please sign in to comment.