Skip to content

Commit

Permalink
Merge pull request #174 from Bellangelo/use-gh-token-when-running-tes…
Browse files Browse the repository at this point in the history
…t-suite

Fix access to the GITHUB_TOKEN
  • Loading branch information
asgrim authored Jan 14, 2025
2 parents b6e014b + 10a7299 commit 286930c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- run: composer config --global github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
# temporarily remove Psalm until ready for PHP 8.4
- name: remove psalm
if: matrix.php-versions == '8.4'
Expand All @@ -38,9 +37,13 @@ jobs:
- name: Run PHPUnit on Windows
if: matrix.operating-system == 'windows-latest'
run: vendor/bin/phpunit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run PHPUnit on non-Windows
if: matrix.operating-system != 'windows-latest'
run: sudo vendor/bin/phpunit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

behaviour-tests:
runs-on: ${{ matrix.operating-system }}
Expand Down

0 comments on commit 286930c

Please sign in to comment.