Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
cstub committed Jan 13, 2025
1 parent 6262275 commit a8cc3de
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 67 deletions.
42 changes: 32 additions & 10 deletions .github/workflows/install-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,34 @@ name: Test Package Installation
on: [push, pull_request]

jobs:
build-and-test:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.8.5

- name: Build package
run: |
poetry build
- name: Upload dist artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
retention-days: 1

test-install:
needs: build
strategy:
fail-fast: false
matrix:
Expand All @@ -13,21 +40,16 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: abatilo/actions-poetry@v3
- name: Download built package
uses: actions/download-artifact@v4
with:
poetry-version: 1.8.5

- name: Build package
run: |
poetry build
name: dist
path: dist/

- name: Test wheel installation
run: |
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/quality.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit a8cc3de

Please sign in to comment.