Update test zoo #505
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "Alpine Edge" | |
runner: ubuntu-latest | |
container: alpine-edge | |
- name: "Alpine Latest" | |
runner: ubuntu-latest | |
container: alpine-latest | |
- name: "Archlinux Base" | |
runner: ubuntu-latest | |
container: archlinux | |
- name: "Centos Stream9" | |
runner: ubuntu-latest | |
container: centos-stream9 | |
- name: "Debian Stable" | |
runner: ubuntu-latest | |
container: debianstable | |
- name: "Debian Testing" | |
runner: ubuntu-latest | |
container: debiantesting | |
- name: "Fedora 40" | |
runner: ubuntu-latest | |
container: fedora40 | |
- name: "Fedora 41" | |
runner: ubuntu-latest | |
container: fedora41 | |
- name: "OpenSUSE Leap" | |
runner: ubuntu-latest | |
container: opensuseleap | |
- name: "OpenSUSE Tumbleweed" | |
runner: ubuntu-latest | |
container: opensusetumbleweed | |
- name: "Ubuntu 20.04" | |
runner: ubuntu-latest | |
container: ubuntu2004 | |
- name: "Ubuntu 22.04" | |
runner: ubuntu-latest | |
container: ubuntu2204 | |
- name: "Ubuntu 24.04" | |
runner: ubuntu-latest | |
container: ubuntu2204 | |
- name: "macOS 13" | |
runner: macos-13 | |
container: osx-13 | |
- name: "macOS 14" | |
runner: macos-14 | |
container: osx-14 | |
runs-on: ${{ matrix.runner }} | |
continue-on-error: ${{ matrix.continue-on-error == true }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build ${{ matrix.name }} | |
env: | |
DOCKER_REGISTRY: docker.pkg.github.com | |
DOCKER_CACHE_IMAGE: docker.pkg.github.com/${{ github.repository }}/timewarrior_cache | |
GITHUB_USER: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CONTAINER: ${{ matrix.container }} | |
run: if [[ !( "${CONTAINER}" =~ osx-* ) ]] ; then docker compose build "test-${CONTAINER}" ; fi | |
- name: Test ${{ matrix.name }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CONTAINER: ${{ matrix.container }} | |
run: if [[ !( "${CONTAINER}" =~ osx-* ) ]]; then docker compose run "test-${CONTAINER}" ; else bash test/scripts/test_osx.sh ; fi |