Skip to content

CI: Test if we can build puppetboard & install setuptools #1202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ jobs:
runs-on: ubuntu-latest

strategy:
max-parallel: 5
matrix:
python-version: [3.9, '3.10', 3.11, 3.12, 3.13]
python-version:
- 3.9
- '3.10'
- 3.11
- 3.12
- 3.13

steps:
- uses: actions/checkout@v4
Expand All @@ -40,6 +44,29 @@ jobs:
run: |
poetry build -v

# this uses the same commands as in our release pipeline and ensures that we can still build puppetboard
test-build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.9
- '3.10'
- 3.11
- 3.12
- 3.13

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 dependencies
run: pip install wheel setuptools
- name: Build
run: python setup.py build sdist bdist_wheel

build_docker_image:
name: 'Test building a container'
runs-on: ubuntu-latest
Expand Down Expand Up @@ -71,6 +98,7 @@ jobs:
tests:
needs:
- test
- test-build
- build_docker_image
- security-tests
runs-on: ubuntu-latest
Expand Down
Loading