From 7a826562a719b6255e1124f6597bd36f8482020b Mon Sep 17 00:00:00 2001 From: Shiro Miminashi Nohara Date: Sun, 11 Aug 2024 01:30:43 +0900 Subject: [PATCH] =?UTF-8?q?CI=E3=81=A7=E3=81=AE=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=81=AE=E5=AE=9F=E8=A1=8C=E6=96=B9=E6=B3=95=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a54885..8f58a9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,8 +14,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: PreCompile assets - run: ./rails assets:precompile RAILS_ENV=test + run: ./docker_compose --profile test run --rm --build test rails assets:precompile - name: Create database - run: ./rails db:create + run: ./docker_compose --profile test run --rm --build test rails db:create - name: Run tests on docker compose - run: ./rails test + run: ./docker_compose --profile test run --rm --build test rails test