Install python dependencies #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push | |
jobs: | |
foo: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install python dependencies | |
run: | | |
pip install 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: Run tests | |
working-directory: . | |
run: pytest -v --cov=pygelf |