From aa20bdf5806001d8be6e905271ac41dc419ffa5a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 24 Sep 2023 23:20:28 +0000 Subject: [PATCH] fix tests --- .github/workflows/main.yml | 49 +++++++++++--------------------------- 1 file changed, 14 insertions(+), 35 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7618968..7eaad66 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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')"