fix mdbook build for dynamic URLs #1304
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: WASP E2E tests | |
| on: [push] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| defaults: | |
| run: | |
| working-directory: wasp | |
| env: | |
| LOKI_TENANT_ID: ${{ secrets.LOKI_TENANT_ID }} | |
| LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }} | |
| LOKI_URL: ${{ secrets.LOKI_URL }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: dorny/paths-filter@v3 | |
| id: changes | |
| with: | |
| filters: | | |
| src: | |
| - 'wasp/**' | |
| - uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30 | |
| if: steps.changes.outputs.src == 'true' | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Run tests | |
| if: steps.changes.outputs.src == 'true' | |
| run: |- | |
| nix develop -c make test_loki |