Skip to content

Commit

Permalink
Merge pull request #7 from thedevdojo/failingTest
Browse files Browse the repository at this point in the history
Adding fail test checks
  • Loading branch information
tnylea authored May 10, 2024
2 parents 4c192be + bc7b152 commit e94a99b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ jobs:
run: echo "Change directory context to Laravel app"
working-directory: ./laravel_app

- name: Install DevDojo Auth dev-main
run: composer require devdojo/auth:dev-main --with-all-dependencies
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
id: extract_branch

- name: Install DevDojo Auth from current branch
run: composer require devdojo/auth:dev-${{ env.branch }} --with-all-dependencies
working-directory: ./laravel_app

- name: Publish the DevDojo Auth Assets
Expand Down Expand Up @@ -98,6 +103,10 @@ jobs:
run: composer require pestphp/pest --dev --with-all-dependencies
working-directory: ./laravel_app

- name: Clear all view caches
run: php artisan view:clear
working-directory: ./laravel_app

- name: Run Tests
run: ./vendor/bin/pest
working-directory: ./laravel_app

0 comments on commit e94a99b

Please sign in to comment.