fix: Revert broken test, remove CI debug steps

This commit is contained in:
courtmanr@gmail.com
2025-04-30 17:15:36 +01:00
parent 790f2e0922
commit 856622b248
2 changed files with 4 additions and 23 deletions
+2 -6
View File
@@ -36,9 +36,5 @@ jobs:
# PBS_HOST: ${{ secrets.PBS_HOST }}
# PBS_TOKEN_ID: ${{ secrets.PBS_TOKEN_ID }}
# PBS_TOKEN_SECRET: ${{ secrets.PBS_TOKEN_SECRET }}
# Print file right before test, clear cache, then run tests
run: |
echo "--- Content before test --- "
cat server/tests/config.test.js
echo "--- End content --- "
npm test -- --clearCache && npm test
# Simplified test command
run: npm test
+2 -17
View File
@@ -26,24 +26,9 @@ jobs:
- name: Clean install dependencies
run: rm -rf node_modules && npm ci
# --- Add Debug Steps ---
- name: List test files
run: ls -la server/tests/
- name: Show config test content
run: cat server/tests/config.test.js
- name: Show current commit hash
run: git rev-parse HEAD
# --- End Debug Steps ---
- name: Run tests
# Print file right before test, clear cache, then run tests
run: |
echo "--- Content before test --- "
cat server/tests/config.test.js
echo "--- End content --- "
npm test -- --clearCache && npm test # Important: Ensure tests pass before releasing
# Simplified test command
run: npm test # Important: Ensure tests pass before releasing
# --- Add Docker Steps ---
- name: Set up QEMU