Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit ec2dd2c

Browse files
authored
Update action.yml
1 parent 987092d commit ec2dd2c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ inputs:
7878
workdir:
7979
description: 'Working directory relative to the root directory.'
8080
default: 'src'
81+
testdir:
82+
description: 'Test directory'
83+
default: 'tests'
8184

8285
### Flags for reviewdog ###
8386
level:
@@ -146,7 +149,7 @@ runs:
146149
python -m pip install pytest flit
147150
cd "${{ inputs.root }}"
148151
python -m flit install
149-
python -m pytest '${{ inputs.args }}' tests
152+
python -m pytest '${{ inputs.args }}' ${{ inputs.testdir }}
150153
shell: bash
151154

152155
- if: ${{ inputs.pypi_publish == 'true' }}

0 commit comments

Comments
 (0)