Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0097810

Browse files
authored
Update WGPU_FORCE_OFFSCREEN to RENDERCANVAS_FORCE_OFFSCREEN (#723)
* Update ci-pygfx-release.yml * Update ci.yml * Update screenshots.yml
1 parent 6c967a8 commit 0097810

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci-pygfx-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ jobs:
5959
python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
6060
- name: Test components
6161
env:
62-
WGPU_FORCE_OFFSCREEN: 1
62+
RENDERCANVAS_FORCE_OFFSCREEN: 1
6363
run: |
6464
pytest -v tests/
6565
- name: Test examples
6666
env:
67-
WGPU_FORCE_OFFSCREEN: 1
67+
RENDERCANVAS_FORCE_OFFSCREEN: 1
6868
run: |
6969
pytest -v examples/
7070
- name: Test examples notebooks, exclude ImageWidget notebook

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565
python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
6666
- name: Test components
6767
env:
68-
WGPU_FORCE_OFFSCREEN: 1
68+
RENDERCANVAS_FORCE_OFFSCREEN: 1
6969
run: |
7070
pytest -v tests/
7171
- name: Test examples
7272
env:
73-
WGPU_FORCE_OFFSCREEN: 1
73+
RENDERCANVAS_FORCE_OFFSCREEN: 1
7474
run: |
7575
pytest -v examples/
7676
- name: Test examples notebooks, exclude ImageWidget notebook

.github/workflows/screenshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
PYGFX_EXPECT_LAVAPIPE: true
5353
run: |
5454
# regenerate screenshots
55-
WGPU_FORCE_OFFSCREEN=1 REGENERATE_SCREENSHOTS=1 pytest -v examples
55+
RENDERCANVAS_FORCE_OFFSCREEN=1 REGENERATE_SCREENSHOTS=1 pytest -v examples
5656
- name: Generate screenshots notebook, exclude image widget
5757
env:
5858
PYGFX_EXPECT_LAVAPIPE: true

0 commit comments

Comments
 (0)