Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ concurrency:
jobs:
test:
name: test
strategy:
matrix:
os: [alpine, ubuntu-20.04, ubuntu-23.04, ubuntu-24.04]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -47,4 +50,4 @@ jobs:
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
if: github.event.pull_request.head.repo.full_name == github.repository
- name: Run tests
run: earthly --ci -P --push +test
run: earthly --ci -P --push +test --OS=${{ matrix.os }}
5 changes: 3 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ VERSION --wildcard-builds 0.8

PROJECT earthly-technologies/core

# test runs tests for all defined dind images in this repo
# test runs tests for for the given OS image (os/*/Earthfile) in this repo
test:
BUILD --pass-args ./os/*+test-build
ARG --required OS
BUILD --pass-args ./os/$OS+test-build

# release expects to get a renovate branch in the form of renovate/<os>-dind-image, extracts the os and then kicks off its +release target
# this is meant to be run by a github workflow
Expand Down