Update workflows

This commit is contained in:
Javier Feliz 2025-08-07 22:33:59 -04:00
parent 17edb6325e
commit 15b8e84f7e
2 changed files with 4 additions and 19 deletions

View File

@ -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

View File

@ -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
run: ./vendor/bin/pest