Skip to content

Commit 1147f54

Browse files
committed
GL only test
1 parent 52ac7a6 commit 1147f54

File tree

1 file changed

+4
-31
lines changed

1 file changed

+4
-31
lines changed

.github/workflows/python-app.yml

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,9 @@
1-
name: Python package
2-
3-
on: [push]
1+
on: push
42

53
jobs:
6-
build:
7-
4+
test:
85
runs-on: ubuntu-latest
9-
106
steps:
11-
- uses: actions/checkout@v4
7+
- uses: actions/checkout@v2
128
- uses: openrndr/[email protected]
13-
14-
- name: Setup OpenGL
15-
run: xvfb-run glxinfo
16-
17-
- name: Set up Python
18-
# This is the version of the action for setting up Python, not the Python version.
19-
uses: actions/setup-python@v5
20-
with:
21-
# Semantic version range syntax or exact version of a Python version
22-
python-version: '3.12'
23-
# Optional - x64 or x86 architecture, defaults to x64
24-
architecture: 'x64'
25-
# You can test your matrix by printing the current Python version
26-
- name: Display Python version
27-
run: python -c "import sys; print(sys.version)"
28-
29-
- name: Installing CoperniFUS
30-
run: python -m pip install -e .
31-
32-
- name: Installing test dependencies
33-
run: pip install pytest nbmake
34-
35-
- name: Testing CoperniFUS
36-
run: pytest --nbmake tests/ipynb_test.ipynb
9+
- run: xvfb-run glxinfo

0 commit comments

Comments
 (0)