-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 891 Bytes
/
integration.yml
File metadata and controls
33 lines (28 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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