Skip to content

Commit

Permalink
[TASK] Speed up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
s2b committed Jan 27, 2024
1 parent 05bb533 commit 638b2ff
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: tests

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
lint:
Expand All @@ -27,7 +31,7 @@ jobs:

-
name: Install composer dependencies
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress

-
name: PHP Linting
Expand Down Expand Up @@ -79,7 +83,7 @@ jobs:
-
name: Install composer dependencies
run: composer require typo3/minimal "^${{ matrix.typo3-versions }}" --prefer-dist --no-progress --no-suggest
run: composer require typo3/minimal "^${{ matrix.typo3-versions }}" --prefer-dist --no-progress

-
name: Unit Testing
Expand Down Expand Up @@ -114,11 +118,11 @@ jobs:
php-version: ${{ matrix.php-versions }}
extensions: intl, mbstring, pdo_sqlite

-
name: Setup GraphicsMagick
run: |
sudo apt-get update
sudo apt-get install -y graphicsmagick
# -
# name: Setup GraphicsMagick
# run: |
# sudo apt-get update
# sudo apt-get install -y graphicsmagick

- name: Get composer cache directory
id: composer-cache
Expand All @@ -136,7 +140,7 @@ jobs:
-
name: Install composer dependencies
run: composer require typo3/minimal "^${{ matrix.typo3-versions }}" --prefer-dist --no-progress --no-suggest
run: composer require typo3/minimal "^${{ matrix.typo3-versions }}" --prefer-dist --no-progress

-
name: Functional testing
Expand Down

0 comments on commit 638b2ff

Please sign in to comment.