Skip to content

Commit 6d1018b

Browse files
committed
update action configs
1 parent 6d26087 commit 6d1018b

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/check-formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
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

.github/workflows/docs-publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ on:
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
2015
permissions:
2116
contents: write

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
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

.github/workflows/run-pytest.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ jobs:
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 }}

0 commit comments

Comments
 (0)