mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Replace deprecated macOS runner
See https://github.com/actions/runner-images/issues/5583 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
21a01dd3bc
commit
ad5a1b851d
1 changed files with 8 additions and 8 deletions
16
.github/workflows/tests.yaml
vendored
16
.github/workflows/tests.yaml
vendored
|
@ -42,12 +42,12 @@ jobs:
|
|||
- name: "Ubuntu 20.04"
|
||||
runner: ubuntu-latest
|
||||
container: ubuntu2004
|
||||
- name: "macOS 10.15"
|
||||
runner: macos-10.15
|
||||
container: osx
|
||||
#- name: "macOS 11"
|
||||
# runner: macos-11
|
||||
# container: osx
|
||||
- name: "macOS 11"
|
||||
runner: macos-11
|
||||
container: osx-11
|
||||
- name: "macOS 12"
|
||||
runner: macos-12
|
||||
container: osx-12
|
||||
runs-on: ${{ matrix.runner }}
|
||||
continue-on-error: ${{ matrix.continue-on-error == true }}
|
||||
steps:
|
||||
|
@ -59,9 +59,9 @@ jobs:
|
|||
GITHUB_USER: ${{ github.actor }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CONTAINER: ${{ matrix.container }}
|
||||
run: if [[ ${CONTAINER} != "osx" ]]; then docker-compose build test-${CONTAINER} ; fi
|
||||
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
|
||||
run: if [[ "${CONTAINER}" =~ osx-* ]]; then docker-compose run "test-${CONTAINER}" ; else bash test/scripts/test_osx.sh ; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue