From 15b8e84f7e191df38a58de0441faf7b20b548144 Mon Sep 17 00:00:00 2001 From: Javier Feliz Date: Thu, 7 Aug 2025 22:33:59 -0400 Subject: [PATCH] Update workflows --- .github/workflows/build.yml | 3 +++ .github/workflows/tests.yml | 20 +------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8cf905..f3c89ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Add Flux Credentials Loaded From ENV + run: composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_USERNAME }}" "${{ secrets.FLUX_LICENSE_KEY }}" + - name: Install PHP dependencies run: composer install --no-interaction --prefer-dist --optimize-autoloader diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 67e0f73..bb32d7b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,23 +37,5 @@ jobs: - name: Build Assets run: npm run build - - name: Setup Test RSA Keys - run: | - echo "Setting up test RSA keys..." - mkdir -p storage/testing/oauth - php artisan app:generate-keys --path="storage/testing/oauth" - echo "✅ Test keys generated" - - name: Run Tests - run: ./vendor/bin/pest - - - name: Cleanup Test Keys - if: always() - run: | - echo "Cleaning up test RSA keys..." - if [ -d "storage/testing" ]; then - rm -rf storage/testing - echo "✅ Test storage directory cleaned up" - else - echo "â„šī¸ No test storage directory found to clean up" - fi \ No newline at end of file + run: ./vendor/bin/pest \ No newline at end of file