Skip to content

Commit

Permalink
Merge pull request #135 from langchain-ai/nc/ci-py-39
Browse files Browse the repository at this point in the history
Update ci to py39
  • Loading branch information
nfcampos authored Jan 26, 2024
2 parents 1919a92 + 8da9a33 commit ace77a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Starting new jobs is also relatively slow,
# so linting on fewer versions makes CI faster.
python-version:
- "3.8"
- "3.9"
- "3.11"
steps:
- uses: actions/checkout@v3
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
paths:
- '.github/actions/poetry_setup/action.yml'
- '.github/workflows/_lint.yml'
- '.github/workflows/langserve_ci.yml'
- 'backend/**'
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI
- ".github/actions/poetry_setup/action.yml"
- ".github/workflows/_lint.yml"
- "backend/**"
workflow_dispatch: # Allows to trigger the workflow manually in GitHub UI

# If another push to the same PR or branch happens while this workflow is still running,
# cancel the earlier run in favor of the next run.
Expand All @@ -28,8 +27,7 @@ env:

jobs:
lint:
uses:
./.github/workflows/_lint.yml
uses: ./.github/workflows/_lint.yml
with:
working-directory: "./backend"
secrets: inherit
Expand All @@ -43,7 +41,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand Down

0 comments on commit ace77a9

Please sign in to comment.