Skip to content

Commit

Permalink
update: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincentqyw committed Dec 22, 2024
1 parent d8aaeef commit f746a50
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: Checkout lfs
run: |
git lfs install --local
AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
git config --local --unset http.${{ github.server_url }}/.extraheader
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [macos-13, ubuntu-latest]
# platform: [macos-13, ubuntu-latest]
platform: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

# runs-on: ${{ matrix.platform }}
Expand All @@ -21,6 +22,14 @@ jobs:
with:
submodules: true

- name: Checkout lfs
run: |
git lfs install --local
AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
git config --local --unset http.${{ github.server_url }}/.extraheader
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit f746a50

Please sign in to comment.