[No QA] stop syncing app data when the app comes to the foreground #13547
Workflow file for this run
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: Bun tests | |
| on: | |
| workflow_call: | |
| pull_request: | |
| types: [opened, synchronize] | |
| branches-ignore: [staging, production] | |
| paths: | |
| - 'server/**' | |
| - 'src/**' | |
| - 'tests/tooling/**' | |
| - 'tests/utils/**' | |
| - '.github/actions/javascript/**' | |
| - '.github/libs/**' | |
| - '.github/scripts/**' | |
| - 'scripts/**' | |
| - 'bunfig.toml' | |
| - '.bun-version' | |
| - 'package.json' | |
| - 'package-lock.json' | |
| - '.github/workflows/bunTests.yml' | |
| concurrency: | |
| group: ${{ github.ref == 'refs/heads/main' && format('{0}-{1}', github.ref, github.sha) || github.ref }}-bun-tests | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Bun tests | |
| runs-on: blacksmith-8vcpu-ubuntu-2404 | |
| steps: | |
| - name: Checkout | |
| uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1 | |
| - name: Setup Node | |
| uses: ./.github/actions/composite/setupNode | |
| - name: Run Bun tests | |
| run: npm run test:bun | |
| - name: Build victory-chart-renderer Linux x64 binary | |
| run: npm run server:vcr:build:linux | |
| - name: Smoke-test compiled victory-chart-renderer binary | |
| run: ./server/victory-chart-renderer/dist/victory-chart-renderer-linux-x64 --chart-xml "$(cat server/victory-chart-renderer/tests/fixtures/top-categories-6.xml)" --out /tmp/vcr-smoke.png && test -s /tmp/vcr-smoke.png |