elixir-client: Revert change to way base_url is used #1353
Workflow file for this run
This file contains 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: Integration Tests | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- "website/**" | |
- "**/README.md" | |
pull_request: | |
paths-ignore: | |
- "website/**" | |
- "**/README.md" | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: integration-tests | |
env: | |
MIX_ENV: dev | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
version-type: strict | |
version-file: ".tool-versions" | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: packages/sync-service/deps | |
key: "${{ runner.os }}-sync-service-deps-${{ env.MIX_ENV }}-${{ hashFiles('packages/sync-service/mix.lock') }}" | |
restore-keys: | | |
${{ runner.os }}-sync-service-deps-${{ env.MIX_ENV }}-${{ hashFiles('packages/sync-service/mix.lock') }} | |
${{ runner.os }}-sync-service-deps-${{ env.MIX_ENV }}- | |
${{ runner.os }}-sync-service-deps- | |
- name: Cache compiled code | |
uses: actions/cache@v4 | |
with: | |
path: | | |
packages/sync-service/_build/*/lib | |
!packages/sync-service/_build/*/lib/electric | |
key: "${{ runner.os }}-sync-service-build-${{ env.MIX_ENV }}-[${{ github.ref_name }}]-${{ github.sha }}" | |
restore-keys: | | |
${{ runner.os }}-sync-service-build-${{ env.MIX_ENV }}-[${{ github.ref_name }}]-${{ github.sha }} | |
${{ runner.os }}-sync-service-build-${{ env.MIX_ENV }}-[${{ github.ref_name }}]- | |
${{ runner.os }}-sync-service-build-${{ env.MIX_ENV }}- | |
${{ runner.os }}-sync-service-build- | |
- name: Install dependencies | |
run: mix deps.get && mix deps.compile | |
working-directory: packages/sync-service | |
- name: Compile | |
run: mix compile --force --all-warnings --warnings-as-errors | |
working-directory: packages/sync-service | |
- name: Setup lux | |
run: make | |
- name: Run integration tests | |
id: tests | |
run: ./run.sh | |
- name: Upload lux logs | |
uses: actions/upload-artifact@v3 | |
if: ${{ failure() && steps.tests.outcome == 'failure' }} | |
with: | |
name: lux_logs | |
path: integration-tests/**/lux_logs/run_* |