Skip to content

Commit

Permalink
Adding updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed May 10, 2024
1 parent 073bc89 commit 873a6dc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
run: php artisan vendor:publish --tag=auth:config
working-directory: ./laravel_app

- name: Remove current tests and symlink to DevDojo Auth
run: |
rm -rf tests
ln -s vendor/devdojo/auth/tests tests
working-directory: ./laravel_app

- name: Create sqlite file
run: touch database/database.sqlite
working-directory: ./laravel_app
Expand Down Expand Up @@ -75,10 +81,6 @@ jobs:
run: php artisan migrate --path=vendor/devdojo/auth/database/migrations
working-directory: ./laravel_app

- name: Re-run migrations
run: php artisan migrate
working-directory: ./laravel_app

# Testing on a mac, this command should be:
# sed -i '' '/"phpunit\/phpunit"/d' composer.json
- name: Remove PHPUnit from composer.json
Expand Down

0 comments on commit 873a6dc

Please sign in to comment.