Skip to content

Commit

Permalink
Do not run update tests twice
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Mar 22, 2023
1 parent b64c857 commit 28dde1b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci-linux.yml
Expand Up @@ -131,12 +131,8 @@ jobs:
mysql -e 'use galette_tests; source tests/mysql_06.sql;' -u galette_tests --password=g@l3tte -h 127.0.0.1 -P 3306
if: startsWith(matrix.db-image, 'mysql') || startsWith(matrix.db-image, 'mariadb')

- name: Update database tests (phpunit)
run: UPDATE=UPDATE galette/vendor/bin/phpunit --test-suffix=.php --bootstrap phpunit/TestsBootstrap.php --no-coverage --process-isolation --testdox phpunit/GaletteUpdate/
if: matrix.coverage != 'xdebug'

- name: Update database tests
run: galette/vendor/bin/atoum -mcn 1 -bf tests/TestsBootstrap.php --no-cc -d tests/GaletteUpdate/
run: UPDATE=UPDATE galette/vendor/bin/phpunit --test-suffix=.php --bootstrap phpunit/TestsBootstrap.php --no-coverage --process-isolation --testdox phpunit/GaletteUpdate/
if: matrix.coverage != 'xdebug'

- name: Init for PostgreSQL
Expand Down

0 comments on commit 28dde1b

Please sign in to comment.