Skip to content

Commit

Permalink
chore: rework ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Millet committed May 2, 2024
1 parent 086bb11 commit 1f03fed
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "*"

jobs:
build:
test-matrix:

runs-on: ubuntu-latest
strategy:
Expand All @@ -21,11 +21,28 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install build-essential libsystemd-dev
python -m pip install --upgrade pip
pip install pdm
pdm install -G :all --frozen-lockfile
pdm install -G dev --frozen-lockfile
- name: Test with pytest
run: |
pytest
pdm run pytest
# test-systemd:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python 3.11
# uses: actions/setup-python@v4
# with:
# python-version: 3.11
# - name: Install dependencies
# run: |
# sudo apt update
# sudo apt install build-essential libsystemd-dev
# python -m pip install --upgrade pip
# pip install pdm
# pdm install -G :all --frozen-lockfile
# - name: Test with pytest
# run: |
# pytest

0 comments on commit 1f03fed

Please sign in to comment.