-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 797 Bytes
/
Copy pathtest_docker.yml
File metadata and controls
35 lines (32 loc) · 797 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
34
35
name: test-docker
on:
pull_request:
branches:
- '**'
workflow_call:
inputs:
check-service-test:
required: false
default: false
type: boolean
jobs:
rspec:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
# - uses: docker/setup-buildx-action@v2
# - uses: docker/build-push-action@v4
# with:
# context: ${{ matrix.service }}/docker/cpu
# cache-from: type=gha
# cache-to: type=gha,mode=max
- name: Setup docker
shell: bash
run: |
docker compose build --progress=plain
docker compose up -d
- name: Test
run: docker compose exec python-cpu uv run tox