diff options
| author | Yuval Adam <_@yuv.al> | 2024-05-17 12:32:51 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2024-05-18 13:12:23 +0200 |
| commit | 5d14844cf140031aed4be23a8800ee787efc33ad (patch) | |
| tree | 9ce7b470374d99b33a0f96fea621bc6171875185 /.github/workflows/build.yml | |
| parent | 37d7331e76ee5d30c44c18f5f288216d90f80c50 (diff) | |
Use poetry in CI
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d15f9a7..41cdd93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 |
