Skip to content

Commit

Permalink
Fix the GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed May 28, 2024
1 parent 8d4e519 commit 17f1f90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 25 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,8 @@ on:
permissions: read-all

jobs:
ecs:
name: build-tools
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none

- name: Checkout
uses: actions/checkout@v3

- name: Install the dependencies
run: |
composer install --no-interaction --no-progress
- name: Run all build-tools to validate code
run: composer run build-tools
ci:
uses: 'terminal42/contao-build-tools/.github/workflows/build-tools.yml@main'

tests:
name: Unit tests
Expand All @@ -46,7 +29,7 @@ jobs:

- name: Install the dependencies
run: |
composer install --no-interaction --no-progress
composer install --no-interaction --no-progress --no-plugins
- name: Run phpunit
run: composer unit
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
},
"config": {
"allow-plugins": {
"contao-components/installer": true,
"contao/manager-plugin": true,
"contao-community-alliance/composer-plugin": true,
"php-http/discovery": false,
"terminal42/contao-build-tools": true
"terminal42/contao-build-tools": true,
"contao-components/installer": false,
"contao/manager-plugin": false,
"contao-community-alliance/composer-plugin": false,
"php-http/discovery": false
},
"sort-packages": true
},
Expand Down

0 comments on commit 17f1f90

Please sign in to comment.