@@ -13,47 +13,48 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Set up Python
18- uses : actions/setup-python@v1
18+ uses : actions/setup-python@v5
1919 with :
20- python-version : 3.8
21- - uses : pre-commit/action@v2 .0.0
20+ python-version : 3.11
21+ - uses : pre-commit/action@v3 .0.0
2222
2323 tests :
2424 runs-on : ${{ matrix.os }}
2525 strategy :
2626 matrix :
27- python-version : [3.7, 3.8, 3.9 ]
27+ python-version : [3.7, 3.11 ]
2828 os : [ubuntu-latest, windows-latest]
2929
3030 steps :
31- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v4
3232
3333 - name : Set up Python ${{ matrix.python-version }}
34- uses : actions/setup-python@v2
34+ uses : actions/setup-python@v5
3535 with :
3636 python-version : ${{ matrix.python-version }}
3737
3838 - name : Installation (deps and package)
3939 # we install with flit --pth-file,
4040 # so that coverage will be recorded for the module
4141 run : |
42- pip install flit
42+ pip install flit~=3.0
4343 flit install --deps=production --extras=test --pth-file
4444
4545 - name : Run pytest
4646 run : |
4747 pytest --cov=mdformat_myst --cov-report=xml --cov-report=term-missing
4848
49- - name : Upload to Codecov
50- if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8
51- uses : codecov/codecov-action@v1
52- with :
53- name : pytests
54- flags : pytests
55- file : ./coverage.xml
56- fail_ci_if_error : true
49+ # FYI: Requires token to continue usage
50+ # - name: Upload to Codecov
51+ # if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8
52+ # uses: codecov/codecov-action@v1
53+ # with:
54+ # name: pytests
55+ # flags: pytests
56+ # file: ./coverage.xml
57+ # fail_ci_if_error: true
5758
5859 pre-commit-hook :
5960 runs-on : ubuntu-latest
8182 runs-on : ubuntu-latest
8283 steps :
8384 - name : Checkout source
84- uses : actions/checkout@v2
85+ uses : actions/checkout@v4
8586 - name : Set up Python
86- uses : actions/setup-python@v1
87+ uses : actions/setup-python@v5
8788 with :
8889 python-version : 3.8
8990 - name : install flit
0 commit comments