Skip to content

Commit

Permalink
test Python package distributions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-keller committed Dec 29, 2024
1 parent e1829d9 commit 786b138
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:

test:
name: Test Python ${{ matrix.python-version }}
needs:
- build
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -67,12 +69,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Download distribution 📦
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Lock and sync dependencies
run: |
python -m pip install -U pip pip-tools
pip-compile --all-extras pyproject.toml requirements-dev.in
pip-sync
pip install -e ".[awscli,boto3]"
- name: Run pre-commit hooks
run: |
make pre-commit
Expand Down

0 comments on commit 786b138

Please sign in to comment.