Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3575417

Browse filesBrowse files
authored
cleanup CI (#661)
* cleanup CI, add py3.13 * remove python3.13
1 parent ec666e2 commit 3575417
Copy full SHA for 3575417

File tree

4 files changed

+13
-25
lines changed
Filter options

4 files changed

+13
-25
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+7-9Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,17 @@ jobs:
3030
- name: Test py312
3131
pyversion: '3.12'
3232
steps:
33-
- name: Install git-lfs
34-
run: |
35-
sudo apt install --no-install-recommends -y git-lfs
3633
- uses: actions/checkout@v4
34+
with:
35+
lfs: true
3736
- name: Set up Python
3837
uses: actions/setup-python@v5
3938
with:
4039
python-version: ${{ matrix.pyversion }}
4140
- name: Install llvmpipe and lavapipe for offscreen canvas
4241
run: |
4342
sudo apt-get update -y -qq
44-
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
43+
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
4544
- name: Install dev dependencies
4645
run: |
4746
python -m pip install --upgrade pip setuptools
@@ -71,7 +70,7 @@ jobs:
7170
examples/diffs
7271
examples/notebooks/diffs
7372
74-
test-build-desktop:
73+
test-build-offscreen:
7574
name: Test Linux, only offscreen
7675
runs-on: ubuntu-latest
7776
timeout-minutes: 10
@@ -87,18 +86,17 @@ jobs:
8786
- name: Test py312
8887
pyversion: '3.12'
8988
steps:
90-
- name: Install git-lfs
91-
run: |
92-
sudo apt install --no-install-recommends -y git-lfs
9389
- uses: actions/checkout@v4
90+
with:
91+
lfs: true
9492
- name: Set up Python
9593
uses: actions/setup-python@v5
9694
with:
9795
python-version: ${{ matrix.pyversion }}
9896
- name: Install llvmpipe and lavapipe for offscreen canvas
9997
run: |
10098
sudo apt-get update -y -qq
101-
sudo apt-get install --no-install-recommends -y libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
99+
sudo apt-get install --no-install-recommends -y libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
102100
- name: Install dev dependencies
103101
run: |
104102
python -m pip install --upgrade pip setuptools

‎.github/workflows/docs-deploy.yml

Copy file name to clipboardExpand all lines: .github/workflows/docs-deploy.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install llvmpipe and lavapipe for offscreen canvas
3636
run: |
3737
sudo apt-get update -y -qq
38-
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
38+
sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
3939
- name: Install dev dependencies
4040
run: |
4141
python -m pip install --upgrade pip setuptools

‎.github/workflows/pypi-publish.yml

Copy file name to clipboardExpand all lines: .github/workflows/pypi-publish.yml
+3-8Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- name: Install git-lfs
25-
run: |
26-
sudo apt install --no-install-recommends -y git-lfs
2724
- uses: actions/checkout@v4
28-
- name: fetch git lfs files
29-
run: |
30-
git lfs fetch --all
31-
git lfs pull
25+
with:
26+
lfs: true
3227
- name: Set up Python
3328
uses: actions/setup-python@v5
3429
with:
@@ -40,7 +35,7 @@ jobs:
4035
- name: Build package
4136
run: python -m build
4237
- name: Publish package
43-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
38+
uses: pypa/gh-action-pypi-publish@release/v1
4439
with:
4540
user: __token__
4641
password: ${{ secrets.PYPI_API_TOKEN }}

‎.github/workflows/screenshots.yml

Copy file name to clipboardExpand all lines: .github/workflows/screenshots.yml
+2-7Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717
timeout-minutes: 10
1818
if: ${{ !github.event.pull_request.draft }}
1919
steps:
20-
- name: Install git-lfs
21-
run: |
22-
sudo apt install --no-install-recommends -y git-lfs
2320
- uses: actions/checkout@v4
21+
with:
22+
lfs: true
2423
- name: Set up Python 3.11
2524
uses: actions/setup-python@v5
2625
with:
@@ -39,10 +38,6 @@ jobs:
3938
- name: Show wgpu backend
4039
run:
4140
python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
42-
- name: fetch git lfs files
43-
run: |
44-
git lfs fetch --all
45-
git lfs pull
4641
- name: Test examples
4742
env:
4843
PYGFX_EXPECT_LAVAPIPE: true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.