-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python: .Net: OpenAI V2 Main Merge Conflict Fix (#8399)
### Motivation and Context Check Tests and Pipeline execution fixes. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Dr. Artificial曾小健 <[email protected]> Co-authored-by: Dmytro Struk <[email protected]> Co-authored-by: westey <[email protected]> Co-authored-by: Mark Wallace <[email protected]> Co-authored-by: Tao Chen <[email protected]> Co-authored-by: Evan Mattson <[email protected]> Co-authored-by: Maurycy Markowski <[email protected]> Co-authored-by: gparmigiani <[email protected]> Co-authored-by: Atiqur Rahman Foyshal <[email protected]> Co-authored-by: Eduard van Valkenburg <[email protected]> Co-authored-by: Andrew Desousa <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4d4e3ad
commit 335fafb
Showing
153 changed files
with
12,431 additions
and
8,770 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,29 @@ jobs: | |
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
defaults: | ||
run: | ||
working-directory: python | ||
env: | ||
# Configure a constant location for the uv cache | ||
UV_CACHE_DIR: /tmp/.uv-cache | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install poetry | ||
run: pipx install poetry | ||
- uses: actions/setup-python@v5 | ||
- name: Set up uv | ||
run: curl -LsSf https://astral.sh/uv/install.sh | sh | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "poetry" | ||
- name: Install dependencies | ||
run: cd python && poetry install | ||
- name: Restore uv cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ env.UV_CACHE_DIR }} | ||
key: uv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/uv.lock') }} | ||
- name: Install the project | ||
run: uv sync --all-extras --dev | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --config python/.pre-commit-config.yaml | ||
- name: Minimize uv cache | ||
run: uv cache prune --ci |
Oops, something went wrong.