diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8eb67b1..a18cd6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,11 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + services: + trend: + image: ankane/trend-api + ports: + - 8000:8000 steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 @@ -10,3 +15,5 @@ jobs: ruby-version: 3.3 bundler-cache: true - run: bundle exec rake test + env: + TREND_URL: http://localhost:8000