Skip to content

Commit

Permalink
improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Oct 3, 2024
1 parent 8f87026 commit a8de77c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
phoenix-evals:
name: Phoenix Evals
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.phoenix_evals == 'true' }}
strategy:
matrix:
py: [ 3.9, 3.12 ]
os: [macos-12, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -133,15 +133,15 @@ jobs:
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
py: ["3.9"]
os: [macos-12, windows-latest, ubuntu-latest]
python-version: ["3.9"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
- name: Set up python ${{ matrix.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.py }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip==${{ env.pip-version }}
Expand Down Expand Up @@ -171,8 +171,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-12]
py: [ 3.9, 3.12 ]
os: [ubuntu-latest, windows-latest, macos-12]
services:
postgres:
# Applying this workaround: https://github.com/actions/runner/issues/822
Expand Down

0 comments on commit a8de77c

Please sign in to comment.