Skip to content

Commit

Permalink
test docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtatsuki05 committed Jun 22, 2024
1 parent 8d875ea commit 5ccb796
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 python-cpu --progress=plain
docker compose up -d python-cpu
- name: Test
run: docker compose exec python-cpu poetry run tox

0 comments on commit 5ccb796

Please sign in to comment.