@@ -5,7 +5,7 @@ name: Test pycubexr package
55
66on :
77 push :
8- branches : [ master ]
8+ branches : [ master, testci ]
99 pull_request :
1010 branches : [ master ]
1111
@@ -16,31 +16,31 @@ jobs:
1616 strategy :
1717 matrix :
1818 os : [ ubuntu-latest ]
19- python-version : [ 3.7, 3.8, 3.9, '3.10', '3.11', '3.12' ]
19+ python-version : [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
20+ include :
21+ - os : ubuntu-22.04
22+ python-version : ' 3.7'
2023
2124 steps :
22- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v4
2326 - name : Set up Python ${{ matrix.python-version }}
24- uses : actions/setup-python@v2
27+ uses : actions/setup-python@v5
2528 with :
2629 python-version : ${{ matrix.python-version }}
2730 - name : Install dependencies
2831 run : |
2932 python -m pip install --upgrade pip
3033 pip install autopep8 pytest pytest-cov
3134 pip install .
32- - name : autopep8
33- id : autopep8
34- uses : peter-evans/autopep8@v1
35- with :
36- args : --recursive --in-place --aggressive --aggressive .
35+ - name : Format with autopep8
36+ run : python -m autopep8 --recursive --in-place --aggressive --aggressive .
3737 - name : Test with pytest
3838 run : |
3939 cd test
40- pytest . --doctest-modules --junitxml=junit/test-results-${{ matrix.python-version }}.xml --cov=com --cov-report=xml
40+ pytest . --doctest-modules --junitxml=junit/test-results-${{ matrix.python-version }}.xml --cov=pycubexr --cov-report=xml
4141 - name : Upload pytest test results
4242 uses : actions/upload-artifact@v4
4343 with :
4444 name : pytest-results-${{ matrix.python-version }}
45- path : /home/runner/work/pycubexr/pycubexr/ test/junit/test-results-${{ matrix.python-version }}.xml
45+ path : test/junit/test-results-${{ matrix.python-version }}.xml
4646 if : ${{ always() }}
0 commit comments