Skip to content

Commit

Permalink
Merge branch '10.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 27, 2023
2 parents dc7d2cb + af17478 commit 74151f4
Show file tree
Hide file tree
Showing 4 changed files with 1,548 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
tools: none

- name: Install dependencies with Composer
run: ./tools/composer update --no-interaction --no-ansi --no-progress
run: ./tools/composer install --no-interaction --no-ansi --no-progress

- name: Run Psalm on public API
run: ./tools/psalm --config=.psalm/static-analysis.xml --no-progress --show-info=false
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
tools: none

- name: Install dependencies with Composer
run: php ./tools/composer update --no-ansi --no-interaction --no-progress
run: php ./tools/composer install --no-ansi --no-interaction --no-progress

- name: Run tests with PHPUnit
run: php ./phpunit --testsuite unit
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
tools: none

- name: Install dependencies with Composer
run: php ./tools/composer update --no-ansi --no-interaction --no-progress
run: php ./tools/composer install --no-ansi --no-interaction --no-progress

- name: Run tests with PHPUnit
run: php ./phpunit --testsuite end-to-end
Expand All @@ -171,7 +171,7 @@ jobs:
tools: none

- name: Install dependencies with Composer
run: ./tools/composer update --no-ansi --no-interaction --no-progress
run: ./tools/composer install --no-ansi --no-interaction --no-progress

- name: Collect code coverage with PHPUnit
run: ./phpunit --coverage-clover=coverage.xml
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# Composer
/vendor
/composer.lock

# Apache Ant
/.ant_targets
Expand Down
6 changes: 2 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<delete dir="${basedir}/build/artifacts"/>
<delete dir="${basedir}/build/tmp"/>
<delete dir="${basedir}/vendor"/>
<delete file="${basedir}/composer.lock"/>

<property name="clean.done" value="true"/>
</target>
Expand All @@ -30,12 +29,12 @@
</target>

<target name="-dependencies-installed">
<available file="${basedir}/composer.lock" property="dependencies-installed"/>
<available type="dir" file="${basedir}/vendor" property="dependencies-installed"/>
</target>

<target name="install-dependencies" unless="dependencies-installed" depends="-dependencies-installed,validate-composer-json" description="Install dependencies with Composer">
<exec executable="${basedir}/tools/composer" taskname="composer">
<arg value="update"/>
<arg value="install"/>
<arg value="--no-interaction"/>
<arg value="--no-progress"/>
<arg value="--no-ansi"/>
Expand Down Expand Up @@ -376,7 +375,6 @@

<target name="build-phar-and-run-phar-specific-tests" depends="clean,phar-snapshot" description="Build PHAR and run the PHAR-specific tests with it">
<delete dir="${basedir}/vendor"/>
<delete file="${basedir}/composer.lock"/>

<antcall target="run-phar-specific-tests"/>
</target>
Expand Down
Loading

0 comments on commit 74151f4

Please sign in to comment.