Skip to content

Commit

Permalink
Adjust tests for v1.1.x (wintercms#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo authored Oct 7, 2022
1 parent de82b9a commit 03daf50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,11 @@ jobs:
- name: Run linting
run: ./vendor/bin/parallel-lint plugins/winter/user

- name: Run unit tests
- name: Run unit tests (1.2/develop)
if: matrix.winterRelease != 'v1.1.9'
run: php artisan winter:test -p Winter.User

- name: Run unit tests (1.1)
if: matrix.winterRelease == 'v1.1.9'
working-directory: plugins/winter/user
run: ../../../vendor/bin/phpunit --bootstrap ../../../tests/bootstrap.php
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
bootstrap="../../../tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
Expand Down

0 comments on commit 03daf50

Please sign in to comment.