Skip to content

Commit

Permalink
:octocat: CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Jul 22, 2024
1 parent 99c706d commit 05f1f32
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Install PHP"
uses: shivammathur/setup-php@v2
Expand All @@ -44,7 +44,7 @@ jobs:
extensions: ast, gd, imagick, json, mbstring

- name: "Update dependencies with composer"
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3

- name: "Run phan"
run: php vendor/bin/phan --target-php-version=${{ matrix.php-version }}
Expand All @@ -71,7 +71,7 @@ jobs:

steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Install PHP with extensions"
uses: shivammathur/setup-php@v2
Expand All @@ -82,15 +82,16 @@ jobs:
extensions: gd, imagick, json, mbstring

- name: "Install dependencies with composer"
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3

- name: "Run tests with phpunit"
run: php vendor/bin/phpunit --colors=always --configuration=phpunit.xml.dist

- name: "Send code coverage report to Codecov.io"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: .build/coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
files: .build/coverage/clover.xml

- name: "Send code coverage report to Codacy"
uses: codacy/codacy-coverage-reporter-action@v1
Expand Down

0 comments on commit 05f1f32

Please sign in to comment.