File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 run : |
2929 python -m pip install --upgrade pip setuptools wheel
3030 # python -m pip install importlib-metadata==4.8.3 # Testing packages
31- python -m pip install -r requirements.txt - e .[dev]
31+ python -m pip install -e .[dev]
3232 - name : List installed Python packages
3333 run : |
3434 python -m pip list
Original file line number Diff line number Diff line change 1111 # Allows you to run this workflow manually from the Actions tab
1212 workflow_dispatch :
1313
14- env :
15- # Enable bib-lookup
16- DB_BIB_LOOKUP : true
17- PANDOC_RELEASE : 3.1.7
18-
1914# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
2015permissions :
2116 contents : write
Original file line number Diff line number Diff line change 3333 - name : Install dependencies
3434 run : |
3535 python -m pip install --upgrade pip setuptools wheel build
36- pip install -r requirements.txt
3736 - name : Install Hatch
3837 uses : pypa/hatch@install
3938 - name : Build
Original file line number Diff line number Diff line change 3737 pytest --cov=sphinxcontrib.pseudocode2 -vv -s --cov-report=term-missing tests
3838 - name : Upload coverage to Codecov
3939 if : matrix.python-version == '3.10'
40- uses : codecov/codecov-action@v4
40+ uses : codecov/codecov-action@v5
4141 with :
4242 fail_ci_if_error : true # optional (default = false)
4343 verbose : true # optional (default = false)
4444 token : ${{ secrets.CODECOV_TOKEN }} # required
45+ slug : DeepPSP/sphinxcontrib-pseudocode2
46+ - name : Upload test results to Codecov
47+ if : ${{ !cancelled() }} && matrix.python-version == '3.10'
48+ uses : codecov/test-results-action@v1
49+ with :
50+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments