Add Swift Package Registry proxy mode (spm backend) with e2e tests #61
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: Integration Tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| maven_provider: [reposilite] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.23" | |
| # GitHub runners use Docker Compose v2 only; Makefile calls docker-compose. | |
| - name: Shim docker-compose to docker compose | |
| run: | | |
| printf '#!/bin/sh\nexec docker compose "$@"\n' | sudo tee /usr/local/bin/docker-compose | |
| sudo chmod +x /usr/local/bin/docker-compose | |
| - name: Run integration tests (${{ matrix.maven_provider }} + Maven) | |
| run: make test-integration | |
| env: | |
| MAVEN_PROVIDER: ${{ matrix.maven_provider }} | |
| NEXUS_WAIT_TIMEOUT: 360 | |
| timeout-minutes: 15 |