Skip to content

Commit

Permalink
Use poetry in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvadm committed May 17, 2024
1 parent c558120 commit 84dc34b
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]

python-version: ["3.8", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install pip and testing tools
run: |
python -m pip install --upgrade pipenv
pipenv install -d
- name: Test build
run: |
pipenv run build
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Poetry install
run: poetry install
- name: Run build
run: poetry run build

0 comments on commit 84dc34b

Please sign in to comment.