From 833cf7a3137962efe823d676daf288ecd25ddbb2 Mon Sep 17 00:00:00 2001 From: myrmidex Date: Sun, 6 Jul 2025 11:03:35 +0200 Subject: [PATCH] Undo CI-CD --- .forgejo/workflows/ci.yml | 40 --------------------------------------- .woodpecker.yml | 35 ---------------------------------- 2 files changed, 75 deletions(-) delete mode 100644 .forgejo/workflows/ci.yml delete mode 100644 .woodpecker.yml diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml deleted file mode 100644 index f826f76..0000000 --- a/.forgejo/workflows/ci.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: CI - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - test: - runs-on: docker - container: php:8.2-cli - - steps: - - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.2' - extensions: mbstring, xml, bcmath, pdo, sqlite, pdo_sqlite - coverage: none - - - name: Install dependencies - run: composer install --prefer-dist --no-progress - - - name: Run PHPStan - run: ./vendor/bin/phpstan analyse --memory-limit=256M - - - name: Prepare Laravel Application - run: | - cp .env.example .env - php artisan key:generate - php artisan config:clear - - - name: Run PHPUnit Tests - env: - DB_CONNECTION: sqlite - DB_DATABASE: ':memory:' - run: php artisan test \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index b254895..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,35 +0,0 @@ -when: - - event: push - branch: main - - event: pull_request - -steps: - - name: setup - image: php:8.2-cli - commands: - - apt-get update && apt-get install -y git unzip - - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - - composer install --no-dev --optimize-autoloader - - - name: phpstan - image: php:8.2-cli - commands: - - composer install --dev - - ./vendor/bin/phpstan analyse --memory-limit=256M --no-progress - depends_on: - - setup - - - name: phpunit - image: php:8.2-cli - environment: - - APP_ENV=testing - - DB_CONNECTION=sqlite - - DB_DATABASE=:memory: - commands: - - composer install --dev - - cp .env.example .env - - php artisan key:generate - - php artisan config:clear - - php artisan test --no-coverage - depends_on: - - setup \ No newline at end of file