Skip to content

Commit

Permalink
Enable macos testing
Browse files Browse the repository at this point in the history
Fixes: #4100
  • Loading branch information
ssbarnea committed Jan 25, 2024
1 parent 8f7a5cc commit ff92c5f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
pkg
eco
py311-devel
platforms: linux,macos
macos: minmax

build:
name: ${{ matrix.name }}
Expand Down Expand Up @@ -66,7 +68,9 @@ jobs:
path: |
~/.cache/pre-commit
key: pre-commit-${{ matrix.name || matrix.passed_name }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install system dependencies

- name: Install system dependencies (linux)
if: ${{ runner.os == 'Linux' }}
# remove broken .deb ansible and replace with pip version:
# https://github.com/actions/virtual-environments/issues/3001
run: |
Expand All @@ -76,12 +80,12 @@ jobs:
&& pip3 install --user ansible-core ansible-lint\
&& echo "$HOME/.local/bin" >> $GITHUB_PATH
# https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
- name: Validate that ansible works
run: |
ansible --version \
&& virtualenv foo \
&& source foo/bin/activate \
&& ansible --version
# - name: Validate that ansible works
# run: |
# ansible --version \
# && virtualenv foo \
# && source foo/bin/activate \
# && ansible --version
- name: Set up Python ${{ matrix.python_version || '3.10' }}
if: "!contains(matrix.shell, 'wsl')"
uses: actions/setup-python@v5
Expand Down

0 comments on commit ff92c5f

Please sign in to comment.