Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dyfero committed Mar 7, 2024
1 parent d29a40a commit 697af71
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
composer config --no-plugins allow-plugins.infection/extension-installer true
composer require infection/infection:^0 -W
- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Run tests
run: ./vendor/bin/infection --min-msi=48 --min-covered-msi=70 --threads=8
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- name: Setup environment
run: cp env/postgres/* .

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Run tests
run: vendor/bin/phpstan analyse --level max src
6 changes: 3 additions & 3 deletions .github/workflows/test-cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
- name: Update composer
run: COMPOSER_ROOT_VERSION=0.9.9 composer update

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: require phpunit-github-actions-printer
run: COMPOSER_ROOT_VERSION=0.9.9 composer require --dev mheap/phpunit-github-actions-printer

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
- name: Update composer
run: COMPOSER_ROOT_VERSION=0.9.9 composer update

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Run tests
run: vendor/bin/phpunit

Expand Down Expand Up @@ -66,12 +66,12 @@ jobs:
- name: Update composer
run: COMPOSER_ROOT_VERSION=0.9.9 composer update

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Run tests
run: vendor/bin/phpunit

Expand Down Expand Up @@ -110,12 +110,12 @@ jobs:
- name: Run tests
run: vendor/bin/phpunit

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Run tests
run: vendor/bin/phpunit

Expand Down Expand Up @@ -145,12 +145,12 @@ jobs:
- name: Setup environment
run: cp env/postgres/* .

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Publish things
run: vendor/bin/testbench migrate:fresh

- name: Clear config
run: vendor/bin/testbench config:clear

- name: Run tests
run: vendor/bin/phpunit
### TODO add behat tests here

0 comments on commit 697af71

Please sign in to comment.