Skip to content

Commit

Permalink
ci: add CI to sessions (#5057)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking authored Oct 17, 2024
1 parent dee7fe0 commit 0209dac
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish experimental Docker image
on:
push:
branches:
- playground
- sessions

jobs:
push_to_registry:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/playwright.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Playwright Tests

on:
push:
branches: [ main, playground ]
branches: [main, sessions]
pull_request:
branches: [ main, playground ]
branches: [main, sessions]
jobs:
e2e-test:
timeout-minutes: 60
Expand Down
104 changes: 52 additions & 52 deletions .github/workflows/python-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Python CI

on:
push:
branches: [ main, playground ]
branches: [main, sessions]
pull_request:
paths:
- "src/**"
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix_evals == 'true' }}
strategy:
matrix:
py: [ 3.8, 3.12 ]
os: [ ubuntu-latest, windows-latest, macos-13 ]
py: [3.8, 3.12]
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -109,8 +109,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix_otel == 'true' }}
strategy:
matrix:
py: [ 3.8, 3.12 ]
os: [ ubuntu-latest, windows-latest, macos-13 ]
py: [3.8, 3.12]
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -126,45 +126,45 @@ jobs:
- run: uv tool install tox --with tox-uv
- run: tox run -e phoenix_otel -- -ra -x

# clean-jupyter-notebooks:
# name: Clean Jupyter Notebooks
# needs: changes
# if: ${{ needs.changes.outputs.ipynb == 'true' }}
# strategy:
# matrix:
# py: [ 3.12 ]
# os: [ ubuntu-latest ]
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.py }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.py }}
# - name: Set up `uv`
# uses: astral-sh/setup-uv@v3
# with:
# version: 0.4.22
# enable-cache: true
# cache-dependency-glob: |
# pyproject.toml
# requirements/clean-jupyter-notebooks.txt
# github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Set up `tox` with `tox-uv`
# run: uv tool install tox --with tox-uv
# - name: Clean Jupyter notebooks
# run: tox run -e clean_jupyter_notebooks -- ${{ needs.changes.outputs.ipynb_files }}
# - run: git diff --exit-code
# clean-jupyter-notebooks:
# name: Clean Jupyter Notebooks
# needs: changes
# if: ${{ needs.changes.outputs.ipynb == 'true' }}
# strategy:
# matrix:
# py: [ 3.12 ]
# os: [ ubuntu-latest ]
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.py }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.py }}
# - name: Set up `uv`
# uses: astral-sh/setup-uv@v3
# with:
# version: 0.4.22
# enable-cache: true
# cache-dependency-glob: |
# pyproject.toml
# requirements/clean-jupyter-notebooks.txt
# github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Set up `tox` with `tox-uv`
# run: uv tool install tox --with tox-uv
# - name: Clean Jupyter notebooks
# run: tox run -e clean_jupyter_notebooks -- ${{ needs.changes.outputs.ipynb_files }}
# - run: git diff --exit-code

build-graphql-schema:
name: Build GraphQL Schema
needs: changes
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
py: [ 3.12 ]
os: [ ubuntu-latest ]
py: [3.12]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
Expand Down Expand Up @@ -194,8 +194,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
py: [ 3.12 ]
os: [ ubuntu-latest ]
py: [3.12]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
Expand Down Expand Up @@ -225,8 +225,8 @@ jobs:
strategy:
matrix:
# uv fails on 3.12 as of 10/16/2024 when installing protobuf dependencies
py: [ 3.11 ]
os: [ ubuntu-latest ]
py: [3.11]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
Expand Down Expand Up @@ -257,8 +257,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
py: [ 3.12 ]
os: [ ubuntu-latest ]
py: [3.12]
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -288,8 +288,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
py: [ 3.9, 3.12 ]
os: [ ubuntu-latest ]
py: [3.9, 3.12]
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -323,8 +323,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
py: [ 3.9, 3.12 ]
os: [ ubuntu-latest, windows-latest, macos-13 ]
py: [3.9, 3.12]
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -367,8 +367,8 @@ jobs:
if: ${{ needs.changes.outputs.phoenix == 'true' }}
strategy:
matrix:
py: [ 3.9, 3.12 ]
os: [ ubuntu-latest ]
py: [3.9, 3.12]
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -404,9 +404,9 @@ jobs:
strategy:
fail-fast: false
matrix:
py: [ 3.9, 3.12 ]
db: [ sqlite, postgresql ]
os: [ ubuntu-latest, windows-latest, macos-13 ]
py: [3.9, 3.12]
db: [sqlite, postgresql]
os: [ubuntu-latest, windows-latest, macos-13]
exclude:
- db: postgresql
os: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: playground
ref: sessions
- uses: actions/setup-python@v5
with:
python-version: 3.9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typescript-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Typescript CI

on:
push:
branches: [ main, playground ]
branches: [main, sessions]
pull_request:
paths:
- "app/**"
Expand Down

0 comments on commit 0209dac

Please sign in to comment.