Skip to content

Commit

Permalink
Add .github/workflows: initial implementation, uncompleted
Browse files Browse the repository at this point in the history
  • Loading branch information
keeprocking committed Jul 9, 2024
1 parent 6a52da0 commit 52c166b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: tests
on:
push
jobs:
foo:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
steps:
- name: checkout
uses: checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: bootstrap
working-directory: .
run: |
docker compose -f tests/config/docker-compose.yml up -d
sleep 120
./tests/config/bootstrap
- name: tests
working-directory: .
run: pytest -v --cov=pygelf

0 comments on commit 52c166b

Please sign in to comment.