Skip to content

Commit

Permalink
Try splitting build and test into separate jobs for easier reading.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Jul 9, 2024
1 parent 65772d9 commit 9d38ccc
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,73 @@ 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
uses: earthly/actions-setup@v1
- 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}}
Expand Down

0 comments on commit 9d38ccc

Please sign in to comment.