File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will run unit tests when main is updated, on pull requests or when manually activated
2+
3+ name : pytest
4+
5+ on :
6+ push :
7+ branches :
8+ main
9+ pull_request :
10+ workflow_dispatch :
11+
12+ jobs :
13+ test :
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest]
17+ runs-on : ${{ matrix.os }}
18+ steps :
19+
20+ - name : Check out repository
21+ uses : actions/checkout@v4
22+ with :
23+ repository : qupath/extension-catalog-model
24+ path : extension-catalog-model
25+
26+ - name : Set up python
27+ id : setup-python
28+ uses : actions/setup-python@v5
29+ with :
30+ python-version : " 3.10"
31+
32+ - name : Install
33+ run : pip install extension-catalog-model
34+
35+ - name : Check out repository
36+ uses : actions/checkout@v4
37+
38+ - name : Run validation
39+ shell : python
40+ run : |
41+ from extension_catalog_model.model import *
42+ Catalog.parse_file("catalog.json")
43+
Original file line number Diff line number Diff line change 1+ env
You can’t perform that action at this time.
0 commit comments