Skip to content

Commit db26e26

Browse files
authored
Merge pull request #55 from dhondta/copilot/fix-workflow-warnings
Fix workflow warnings from GitHub Actions run
2 parents 7d0588f + 488d19c commit db26e26

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/python-package.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
os: [ubuntu-latest]
2626
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install pandoc
@@ -47,9 +47,9 @@ jobs:
4747
env:
4848
cov_badge_path: docs/coverage.svg
4949
steps:
50-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v4
5151
- name: Set up Python ${{ matrix.python-version }}
52-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v5
5353
with:
5454
python-version: "3.13"
5555
- name: Install pandoc
@@ -66,7 +66,7 @@ jobs:
6666
pytest --cov=$package --cov-report=xml
6767
genbadge coverage -i coverage.xml -o $cov_badge_path
6868
- name: Verify Changed files
69-
uses: tj-actions/verify-changed-files@v17
69+
uses: tj-actions/verify-changed-files@v20
7070
id: changed_files
7171
with:
7272
files: ${{ env.cov_badge_path }}
@@ -79,19 +79,19 @@ jobs:
7979
git commit -m "Updated coverage.svg"
8080
- name: Push changes
8181
if: steps.changed_files.outputs.files_changed == 'true'
82-
uses: ad-m/github-push-action@master
82+
uses: ad-m/github-push-action@v1.0.0
8383
with:
8484
github_token: ${{ secrets.github_token }}
8585
branch: ${{ github.ref }}
8686
deploy:
8787
runs-on: ubuntu-latest
8888
needs: coverage
8989
steps:
90-
- uses: actions/checkout@v3
90+
- uses: actions/checkout@v4
9191
with:
9292
fetch-depth: 0
9393
- name: Check for version change
94-
uses: dorny/paths-filter@v2
94+
uses: dorny/paths-filter@v4
9595
id: filter
9696
with:
9797
filters: |

pytest.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
[pytest]
22
pythonpath = src
3+
filterwarnings =
4+
ignore::UserWarning:plyer
5+
ignore:.*multi-threaded.*fork.*:DeprecationWarning:multiprocessing
6+
ignore::UserWarning:_distutils_hack
7+
ignore:.*crypt.*:DeprecationWarning:codext

0 commit comments

Comments
 (0)