Skip to content

Add debug logging for URL processing in attachment downloader #143

Add debug logging for URL processing in attachment downloader

Add debug logging for URL processing in attachment downloader #143

name: Junie Integration Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
integration-tests:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/heads/dependabot/') }}
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Run Integration Tests in Parallel
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TEST_ORG: melotria
CURRENT_BRANCH: ${{ github.head_ref || github.ref_name }}
run: |
mkdir -p test-results
exit_code=0
for test_file in test/integration/*.test.ts; do
echo "Starting $test_file"
bun test "$test_file" &
done
for job in $(jobs -p); do
wait $job || exit_code=$?
done
echo "All tests completed"
exit $exit_code
- name: Upload Test Report
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-test-report
if-no-files-found: ignore
path: ./test-results/
retention-days: 2