Skip to content

Commit

Permalink
Run tests.yaml on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed May 29, 2024
1 parent c17d41a commit d27ecf6
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,35 @@ on:

jobs:
tests:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-latest
steps:
- name: Set up system
- name: Set up system (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
shell: bash
run: |
bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
sudo apt-get update -qq
sudo apt-get install eatmydata
sudo eatmydata apt-get install singularity-container gnupg moreutils strace
sudo eatmydata apt-get install datalad datalad-container
- name: Set up system (macOS)
if: startsWith(matrix.os, 'macos')
run: |
python3 -m pip install datalad-container datalad-installer
datalad-installer -l DEBUG --sudo ok git-annex -m brew
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "CI Almighty"
- name: Checkout this repository
uses: actions/checkout@v4

Expand Down

0 comments on commit d27ecf6

Please sign in to comment.