Skip to content

Commit 910fd4b

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents d7c653a + 503673f commit 910fd4b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: tox -e test -- -m "unit or (not integration and not end_to_end)" --cov=src --cov=tests --cov-report=xml -n auto
5454

5555
- name: Upload unit test coverage reports to Codecov with GitHub Action
56-
uses: codecov/codecov-action@v3
56+
uses: codecov/codecov-action@v4
5757
with:
5858
flags: unit
5959

@@ -62,7 +62,7 @@ jobs:
6262
run: tox -e test -- -m integration --cov=src --cov=tests --cov-report=xml -n auto
6363

6464
- name: Upload integration test coverage reports to Codecov with GitHub Action
65-
uses: codecov/codecov-action@v3
65+
uses: codecov/codecov-action@v4
6666
with:
6767
flags: integration
6868

@@ -71,6 +71,6 @@ jobs:
7171
run: tox -e test -- -m end_to_end --cov=src --cov=tests --cov-report=xml -n auto
7272

7373
- name: Upload end_to_end test coverage reports to Codecov with GitHub Action
74-
uses: codecov/codecov-action@v3
74+
uses: codecov/codecov-action@v4
7575
with:
7676
flags: end_to_end

.github/workflows/update-plugin-list.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: python scripts/update_plugin_list.py
3838

3939
- name: Create Pull Request
40-
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
40+
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50
4141
with:
4242
commit-message: '[automated] Update plugin list'
4343
author: 'Tobias Raabe <[email protected]>'

src/_pytask/collect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def pytask_collect_node(session: Session, path: Path, node_info: NodeInfo) -> PN
444444
name = shorten_path(node, session.config["paths"] or (session.config["root"],))
445445

446446
if isinstance(node, Path) and node.is_dir():
447-
raise ValueError(_TEMPLATE_ERROR_DIRECTORY.format(path=path))
447+
raise ValueError(_TEMPLATE_ERROR_DIRECTORY.format(path=node))
448448

449449
return PathNode(name=name, path=node)
450450

0 commit comments

Comments
 (0)