diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 62ff36c..9b49481 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -31,8 +31,10 @@ jobs: run: go build - name: Test - run: | - cd database/docker - docker-compose up --detach - cd ../../indexer - go test . + run: go test -v ./indexer + services: + mysql: + image: mysql + ports: 3306:3306 + environment: + MYSQL_ROOT_PASSWORD: "root"