diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4e00379..da4b333 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,12 +16,16 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: bootstrap + - name: Install python dependencies + run: | + pip requests pytest-cov coveralls + pip install -e . + - name: Set up graylog working-directory: . run: | docker compose -f tests/config/docker-compose.yml up -d sleep 120 ./tests/config/bootstrap - - name: tests + - name: Run tests working-directory: . run: pytest -v --cov=pygelf diff --git a/tests/config/docker-compose.yml b/tests/config/docker-compose.yml index bd19ae1..986d14b 100644 --- a/tests/config/docker-compose.yml +++ b/tests/config/docker-compose.yml @@ -1,4 +1,3 @@ -version: '2' services: mongo: image: "mongo:3.3"