Skip to content

Commit

Permalink
Proper syntax for testing on mac-os matrix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
TechNickAI committed Aug 13, 2023
1 parent 20ea5c0 commit 8b75b79
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ on:

jobs:
test:
runs-on: ${{ matrix.os }}
name: Test with Python ${{ matrix.python-version }} on ${{ matrix.os }}
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

strategy:
matrix:
runs-on: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11"]

runs-on: ${{ matrix.os }}
name: Test with Python ${{ matrix.python-version }} on ${{ matrix.os }}

steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down

0 comments on commit 8b75b79

Please sign in to comment.