Skip to content

Commit

Permalink
Merge pull request #4 from iamtatsuki05/feature/update_env
Browse files Browse the repository at this point in the history
update env
  • Loading branch information
iamtatsuki05 authored Jun 22, 2024
2 parents 9db674c + 4f9067d commit f5b326e
Show file tree
Hide file tree
Showing 5 changed files with 1,177 additions and 3 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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: test-poetry

on:
pull_request:
Expand Down
3 changes: 3 additions & 0 deletions env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
OPENAI_API_KEY=""
ANTHROPIC_API_KEY=""
GOOGLE_API_KEY=""
Loading

0 comments on commit f5b326e

Please sign in to comment.