Add Swift Package Registry proxy mode (spm backend) with e2e tests #67
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: E2E Tests (Full) | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| e2e-full: | |
| 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" | |
| - name: Set up Swift | |
| uses: swift-actions/setup-swift@v2 | |
| with: | |
| swift-version: "6.0" | |
| # 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 full E2E (${{ matrix.maven_provider }} + Swift publish/resolve + registry API) | |
| run: make test-e2e-full | |
| env: | |
| MAVEN_PROVIDER: ${{ matrix.maven_provider }} | |
| NEXUS_WAIT_TIMEOUT: 360 | |
| timeout-minutes: 20 |