chore(workflow): spread tests using ports
@@ -43,9 +43,20 @@ jobs:
GOBINPATH: ~/go/bin/
run: |
make unit-partial-run
- partial-integration:
- name: Partial package integration tests
+ adapters-integration:
+ name: Adapters integration tests
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ port:
+ - clock
+ - instance_storage
+ - operation_flow
+ - operation_storage
+ - port_allocator
+ - room_storage
+ - runtime
+ - scheduler_storage
steps:
- name: Set up Go
uses: actions/setup-go@v1
@@ -61,5 +72,6 @@ jobs:
- name: Run tests
env:
GOBINPATH: ~/go/bin/
+ MAESTRO_PORT: ${{ matrix.port }}
run: |
- make integration-partial-run
+ go test -count=1 -tags=integration ./internal/adapters/${MAESTRO_PORT}/...
