Skip to content

Commit

Permalink
Remove use of baas test server
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Sep 9, 2024
1 parent 1b0dcd0 commit 84557c3
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 102 deletions.
5 changes: 0 additions & 5 deletions .github/actions/baas-test-server/.eslintrc.json

This file was deleted.

22 changes: 0 additions & 22 deletions .github/actions/baas-test-server/action.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/actions/baas-test-server/package.json

This file was deleted.

21 changes: 0 additions & 21 deletions .github/actions/baas-test-server/start-server.js

This file was deleted.

21 changes: 0 additions & 21 deletions .github/actions/baas-test-server/stop-server.js

This file was deleted.

30 changes: 3 additions & 27 deletions .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -459,17 +459,9 @@ jobs:
# Ensure we install the prebuild built in the previous job
npm_config_realm_local_prebuilds: ${{github.workspace}}/packages/realm/prebuilds

- name: Start BaaS test server
id: baas
uses: ./.github/actions/baas-test-server
with:
branch: ${{ env.BAAS_BRANCH }}
env:
BAASAAS_KEY: ${{ secrets.BAASAAS_KEY }}

- name: Create Mocha Remote Context
id: mocha-env
run: echo "context=syncLogLevel=warn,longTimeoutMs=${{ env.LONG_TIMEOUT }},baseUrl=${{ steps.baas.outputs.baas-url }}" >> $GITHUB_OUTPUT
run: echo "context=longTimeoutMs=${{ env.LONG_TIMEOUT }}" >> $GITHUB_OUTPUT

- name: Run tests
env:
Expand Down Expand Up @@ -566,17 +558,9 @@ jobs:
echo "Simulator booted with UDID = $SIMULATOR_UDID"
echo "SIMULATOR_UDID=$SIMULATOR_UDID" >> $GITHUB_ENV
- name: Start BaaS test server
id: baas
uses: ./.github/actions/baas-test-server
with:
branch: ${{ env.BAAS_BRANCH }}
env:
BAASAAS_KEY: ${{ secrets.BAASAAS_KEY }}

- name: Create Mocha Remote Context
id: mocha-env
run: echo "context=syncLogLevel=warn,longTimeoutMs=${{ env.LONG_TIMEOUT }},baseUrl=${{ steps.baas.outputs.baas-url }}" >> $GITHUB_OUTPUT
run: echo "longTimeoutMs=${{ env.LONG_TIMEOUT }}" >> $GITHUB_OUTPUT

# Because the Xcode project injects its own CCACHE_CONFIGPATH,
# the configuration set by the ccache action doesn't propagate.
Expand Down Expand Up @@ -677,17 +661,9 @@ jobs:
# Ignoring scripts to prevent a prebuild from getting fetched / built
run: npm ci --ignore-scripts

- name: Start BaaS test server
id: baas
uses: ./.github/actions/baas-test-server
with:
branch: ${{ env.BAAS_BRANCH }}
env:
BAASAAS_KEY: ${{ secrets.BAASAAS_KEY }}

- name: Create Mocha Remote Context
id: mocha-env
run: echo "context=syncLogLevel=warn,longTimeoutMs=${{ env.LONG_TIMEOUT }},baseUrl=${{ steps.baas.outputs.baas-url }}" >> $GITHUB_OUTPUT
run: echo "context=longTimeoutMs=${{ env.LONG_TIMEOUT }}" >> $GITHUB_OUTPUT

- name: Setup Java Gradle cache for android test app
uses: actions/cache@v4
Expand Down

0 comments on commit 84557c3

Please sign in to comment.