Rename to .js #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: 'Set up Python' | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: './apps/symapi/.python-version' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install JS deps | |
| run: bun install | |
| - name: Run tests | |
| run: | | |
| bun dev --filter=@learning/symapi & | |
| for i in {1..30}; do | |
| curl -fsS http://localhost:8088/openapi.json > /dev/null && break || echo "waiting..." | |
| sleep 1 | |
| done || exit 1 | |
| bun run test |