Skip to content

Commit

Permalink
Github workflows: manually install svn (#748)
Browse files Browse the repository at this point in the history
* Use Ubuntu 22.04 in GH workflow php-lint-test

* Use ubuntu-latest and manually install svn instead
  • Loading branch information
annemirasol authored Dec 16, 2024
1 parent 2d9f428 commit a9d0072
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/php-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
php-version: '7.3' # needs >=7.3 for SARB
tools: composer
coverage: none
- name: Install SVN
run: sudo apt-get install -y subversion
# install dependencies and run phpcs
- run: composer self-update 2.0.6 && composer install --no-progress && composer phpcs

Expand All @@ -41,6 +43,8 @@ jobs:
with:
php-version: '7.3'
coverage: none
- name: Install SVN
run: sudo apt-get install -y subversion
# run CI checks
- run: find . \( -path ./vendor \) -prune -o \( -name '*.php' \) -exec php -lf {} \;| (! grep -v "No syntax errors detected" )

Expand All @@ -64,7 +68,9 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer
tools: composer
- name: Install SVN
run: sudo apt-get install -y subversion
# run CI checks
- run: |
echo "bash bin/run-ci-tests.sh"
Expand All @@ -88,6 +94,8 @@ jobs:
with:
php-version: '7.3'
tools: composer
- name: Install SVN
run: sudo apt-get install -y subversion
# run CI checks
- run: bash bin/run-ci-tests.sh
compatibility-beta:
Expand All @@ -108,6 +116,8 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer
tools: composer
- name: Install SVN
run: sudo apt-get install -y subversion
# run CI checks
- run: bash bin/run-ci-tests.sh

0 comments on commit a9d0072

Please sign in to comment.