Skip to content

Commit 6148c41

Browse files
authored
infra: update release workflow (#8)
1 parent e9dba84 commit 6148c41

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

.github/workflows/_release.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626

2727
jobs:
2828
build:
29-
if: github.ref == 'refs/heads/master' || inputs.dangerous-nonmaster-release
29+
if: github.ref == 'refs/heads/main' || inputs.dangerous-nonmaster-release
3030
runs-on: ubuntu-latest
3131

3232
outputs:
@@ -163,14 +163,6 @@ jobs:
163163
run: make tests
164164
working-directory: ${{ inputs.working-directory }}
165165

166-
- name: Run integration tests
167-
env:
168-
PARTNER_API_KEY: ${{ secrets.PARTNER_API_KEY }}
169-
run: |
170-
uv sync --group test --group test_integration
171-
make integration_tests
172-
working-directory: ${{ inputs.working-directory }}
173-
174166
- name: Get minimum versions
175167
working-directory: ${{ inputs.working-directory }}
176168
id: min-version

.github/workflows/_test_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
build:
22-
if: github.ref == 'refs/heads/master' || inputs.dangerous-nonmaster-release
22+
if: github.ref == 'refs/heads/main' || inputs.dangerous-nonmaster-release
2323
runs-on: ubuntu-latest
2424

2525
outputs:

libs/community/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extended_tests:
4242
PYTHON_FILES=.
4343
MYPY_CACHE=.mypy_cache
4444
lint format: PYTHON_FILES=.
45-
lint_diff format_diff: PYTHON_FILES=$(shell git diff --relative=libs/community --name-only --diff-filter=d master | grep -E '\.py$$|\.ipynb$$')
45+
lint_diff format_diff: PYTHON_FILES=$(shell git diff --relative=libs/community --name-only --diff-filter=d main | grep -E '\.py$$|\.ipynb$$')
4646
lint_package: PYTHON_FILES=langchain_community
4747
lint_tests: PYTHON_FILES=tests
4848
lint_tests: MYPY_CACHE=.mypy_cache_test

0 commit comments

Comments
 (0)