Skip to content

HttpClient is injected into ApiClient #512

HttpClient is injected into ApiClient

HttpClient is injected into ApiClient #512

Workflow file for this run

---
name: Continuous Integration
on:
workflow_dispatch:
push:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
name: ${{ matrix.suite }} - Ruby ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
suite:
- 'app'
- 'test'
ruby:
- '3.2.2'
# - '3.1.4'
# - '3.0.4'
steps:
- uses: actions/checkout@v4
- name: Setup Database
run: docker compose up dbsetup
- name: Create .env
run: |
echo "UID=$(id -u)" > .env
echo "GID=$(id -g)" >> .env
- if: matrix.suite == 'app'
run: |
docker compose build --build-arg RUBY_VERSION=${{ matrix.ruby }} app
# docker compose run app bundle exec rake db:migrate
# docker compose run app-dev bin/standardrb
docker compose run app-dev
# docker compose run api bin/cucumber
- if: matrix.suite == 'test'
run: |
docker compose build --build-arg RUBY_VERSION=${{ matrix.ruby }} app apache
docker compose run test