fix CI
This commit is contained in:
parent
56d4f387b8
commit
4cbf0cadda
|
@ -24,6 +24,13 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
|
coverage: xdebug
|
||||||
|
extensions: :opcache, mbstring
|
||||||
|
tools: composer:v2.6.6
|
||||||
|
ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB }}
|
||||||
|
debug: true
|
||||||
|
|
||||||
- name: PHP Security Checker
|
- name: PHP Security Checker
|
||||||
uses: StephaneBour/actions-php-security-checker@1.1
|
uses: StephaneBour/actions-php-security-checker@1.1
|
||||||
|
@ -33,20 +40,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Add keys
|
# - name: Add keys
|
||||||
run: |
|
# run: |
|
||||||
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
||||||
sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
|
# sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
|
||||||
- run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64
|
# - run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64
|
||||||
- run: echo $GITHUB_TOKEN|base64
|
# - run: echo $GITHUB_TOKEN|base64
|
||||||
- name: Diagnose composer
|
# - name: Diagnose composer
|
||||||
env:
|
# env:
|
||||||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||||
run: composer diagnose -vvv
|
# run: composer diagnose -vvv
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
env:
|
# env:
|
||||||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||||
run: composer install # will work
|
# run: composer install # will work
|
||||||
|
|
||||||
- name: Setup sqlite3 driver
|
- name: Setup sqlite3 driver
|
||||||
run: apt install php${{ matrix.php-versions }}-sqlite3 -y
|
run: apt install php${{ matrix.php-versions }}-sqlite3 -y
|
||||||
|
@ -76,4 +83,5 @@ jobs:
|
||||||
cd /var/www/test-testabit/
|
cd /var/www/test-testabit/
|
||||||
git stash
|
git stash
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
|
git stash clear
|
||||||
make setup-test
|
make setup-test
|
||||||
|
|
Loading…
Reference in New Issue