File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
1818 - name : Checkout
1919 uses : actions/checkout@v3
2020
21- - name : Set up Python 3.10.5
21+ - name : Set up Python 3.10.11
2222 uses : actions/setup-python@v3
2323 with :
24- python-version : " 3.10.5 "
24+ python-version : " 3.10.11 "
2525
2626 - name : Check Python Version
2727 run : python --version
Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : CD_Manual
5+
6+ on : [workflow_dispatch]
7+
8+ jobs :
9+ docs :
10+ name : Test API documentation build
11+ runs-on : [ubuntu-latest]
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+
17+ - name : Set up Python 3.10.11
18+ uses : actions/setup-python@v3
19+ with :
20+ python-version : " 3.10.11"
21+
22+ - name : Check Python Version
23+ run : python --version
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install ".[docs]"
28+
29+ - name : Build API documentation
30+ run : |
31+ sphinx-apidoc -Mfeo docs/source src/wf_psf
32+ sphinx-build docs/source docs/build
33+
34+ - name : Archive documentation as artifact
35+ uses : actions/upload-artifact@v2
36+ with :
37+ name : api-docs
38+ path : docs/build
Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : CI_manual
5+
6+ on : [workflow_dispatch]
7+
8+ jobs :
9+ test-full :
10+ runs-on : [ubuntu-latest]
11+
12+ strategy :
13+ matrix :
14+ python-version : ["3.9", "3.10"]
15+
16+ steps :
17+ - name :
18+ uses : actions/checkout@v3
19+
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v3
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+
25+ - name : Install dependencies
26+ run : python -m pip install ".[test]"
27+
28+ - name : Test with pytest
29+ run : python -m pytest
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ release = [
5252]
5353
5454test = [
55- " pytest" ,
55+ " pytest>=7.0.0,<8.1 " ,
5656 " pytest-cov" ,
5757 " pytest-emoji" ,
5858 " pytest-raises" ,
You can’t perform that action at this time.
0 commit comments