diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fbd7e89..c3a4845 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,6 +31,27 @@ jobs: # - "ubuntu:noble" # - "debian:trixie" runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Set up Earthly + uses: earthly/actions-setup@v1 + - name: Build + run: | + earthly --ci +build --OS=${{matrix.os}} + packaging-tests: + strategy: + fail-fast: false + matrix: + os: + - "ubuntu:focal" + - "debian:bullseye" + - "ubuntu:jammy" + - "debian:bookworm" + # TODO(astraw/stdeb#195) + # - "ubuntu:noble" + # - "debian:trixie" + needs: build + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Set up Earthly @@ -38,6 +59,45 @@ jobs: - name: Run tests run: | earthly --ci +test --OS=${{matrix.os}} + pypi-install-tests: + strategy: + fail-fast: false + matrix: + os: + - "ubuntu:focal" + - "debian:bullseye" + - "ubuntu:jammy" + - "debian:bookworm" + # TODO(astraw/stdeb#195) + # - "ubuntu:noble" + # - "debian:trixie" + needs: build + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Set up Earthly + uses: earthly/actions-setup@v1 + - name: Run pypi-install tests -- + run: | + earthly --ci +test-pypi-install --OS=${{matrix.os}} + 2and3-tests: + strategy: + fail-fast: false + matrix: + os: + - "ubuntu:focal" + - "debian:bullseye" + - "ubuntu:jammy" + - "debian:bookworm" + # TODO(astraw/stdeb#195) + # - "ubuntu:noble" + # - "debian:trixie" + needs: build + runs-on: ubuntu-2204 + steps: + - uses: actions/checkout@v4 + - name: Set up Earthly + uses: earthly/actions-setup@v1 - name: Run pypi-install tests -- run: | earthly --ci +test-pypi-install --OS=${{matrix.os}}