mirror of
https://github.com/Karaka-Management/oms-Search.git
synced 2026-01-11 18:48:41 +00:00
fix tests
This commit is contained in:
parent
4f05204850
commit
db69620596
49
.github/workflows/main.yml
vendored
49
.github/workflows/main.yml
vendored
|
|
@ -121,28 +121,6 @@ jobs:
|
|||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Checkout Build Repository
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 1
|
||||
ref: develop
|
||||
repository: Karaka-Management/Build
|
||||
path: Build
|
||||
- name: Checkout Resource Repository
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 1
|
||||
ref: develop
|
||||
repository: Karaka-Management/Resources
|
||||
path: Resources
|
||||
- name: Checkout phpOMS Repository
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 1
|
||||
ref: develop
|
||||
repository: Karaka-Management/phpOMS
|
||||
path: phpOMS
|
||||
token: ${{ secrets.GH_PAT }}
|
||||
- name: Checkout Karaka Repository
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
|
|
@ -150,6 +128,7 @@ jobs:
|
|||
ref: develop
|
||||
repository: Karaka-Management/Karaka
|
||||
path: Karaka
|
||||
submodules: recursive
|
||||
- name: Setup PHP, with composer and extensions
|
||||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
|
|
@ -192,14 +171,14 @@ jobs:
|
|||
ref: develop
|
||||
repository: Karaka-Management/Build
|
||||
path: Build
|
||||
- name: Checkout phpOMS Repository
|
||||
- name: Checkout Karaka Repository
|
||||
uses: actions/checkout@main
|
||||
with:
|
||||
fetch-depth: 1
|
||||
ref: develop
|
||||
repository: Karaka-Management/phpOMS
|
||||
path: phpOMS
|
||||
token: ${{ secrets.GH_PAT }}
|
||||
repository: Karaka-Management/Karaka
|
||||
path: Karaka
|
||||
submodules: recursive
|
||||
- name: Setup PHP, with composer and extensions
|
||||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
|
|
@ -218,7 +197,7 @@ jobs:
|
|||
- name: Setup Composer
|
||||
run: composer install
|
||||
- name: phpstan
|
||||
run: vendor/bin/phpstan analyse -a phpOMS/Autoloader.php --no-progress -l 9 -c Build/Config/phpstan.neon ./
|
||||
run: vendor/bin/phpstan analyse -a tests/Autoloader.php --no-progress -l 9 -c Build/Config/phpstan.neon ./
|
||||
codestyle-tests:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, 'NO_CI')"
|
||||
|
|
@ -262,14 +241,14 @@ jobs:
|
|||
run: vendor/bin/phpcs --severity=1 ./ --standard="Build/Config/phpcs.xml" -s --report=full
|
||||
- name: rector
|
||||
run: vendor/bin/rector process --dry-run --config Build/Config/rector.php ./
|
||||
- name: Install NPM
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'npm'
|
||||
- run: npm install
|
||||
- name: eslint
|
||||
run: npx eslint ./ -c Build/Config/.eslintrc.json
|
||||
# - name: Install NPM
|
||||
# uses: actions/setup-node@v3
|
||||
# with:
|
||||
# node-version: '14'
|
||||
# cache: 'npm'
|
||||
# - run: npm install
|
||||
# - name: eslint
|
||||
# run: npx eslint ./ -c Build/Config/.eslintrc.json
|
||||
# linting:
|
||||
# runs-on: ubuntu-latest
|
||||
# if: "!contains(github.event.head_commit.message, 'NO_CI')"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user