FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pyironFileReader/.github/workflows/python-tests.yml at main · ovito-org/pyironFileReader · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
ovito-org
/
pyironFileReader
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pyironFileReader
/
.github
/
workflows
/
python-tests.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (50 loc) · 1.45 KB
Breadcrumbs
pyironFileReader
/
.github
/
workflows
/
python-tests.yml
Copy path
File metadata and controls
52 lines (50 loc) · 1.45 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
This workflow will install Python dependencies, run tests and lint with a variety of Python versions
#
For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name
:
Python Tests
on
:
push
:
branches
:
[ "main" ]
pull_request
:
branches
:
[ "main" ]
repository_dispatch
:
types
:
[ovito_update]
jobs
:
build
:
runs-on
:
${{ matrix.os }}
timeout-minutes
:
15
strategy
:
fail-fast
:
false
matrix
:
os
:
[ubuntu-latest, macos-latest, windows-latest]
python-version
:
["3.10", "3.12", "3.13"]
exclude
:
-
os
:
macos-latest
python-version
:
"
3.10
"
-
os
:
windows-latest
python-version
:
"
3.10
"
env
:
UV_SYSTEM_PYTHON
:
1
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Install apt dependencies
if
:
matrix.os == 'ubuntu-latest'
run
:
|
sudo apt install -y libegl1 libopengl0
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v6
with
:
python-version
:
${{ matrix.python-version }}
check-latest
:
true
-
name
:
Install uv (with cache)
uses
:
astral-sh/setup-uv@v6
with
:
enable-cache
:
true
-
name
:
Install python dependencies
run
:
|
uv pip install --upgrade pip
uv pip install pytest
uv pip install --pre ovito
uv pip install .
-
name
:
Test with pytest
run
:
|
pytest
Back
|
FazBrowse Home
|
New Git URL