Skip to content

Commit

Permalink
add on-demand macos testing (NVIDIA#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin-tech committed Apr 26, 2024
2 parents 6455c86 + 2489916 commit ba76083
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Garak pytest - MacOS

on: [workflow_dispatch]

jobs:
build_macos:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.10","3.12"]
steps:
- uses: actions/checkout@v3
with:
path: garak

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
cd garak
python -m pytest tests/

0 comments on commit ba76083

Please sign in to comment.