Skip to content

Commit

Permalink
added verbose check and codecov-token
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <nickpapior@gmail.com>
  • Loading branch information
zerothi committed Feb 22, 2024
1 parent 35aaee5 commit c2e45ce
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ on:
description: 'Which marks to test'
required: false
default: ''

verbose:
description: 'Run pytest with -vvv'
required: false
type: boolean

jobs:

Expand Down Expand Up @@ -110,6 +113,9 @@ jobs:
else
ADD_FLAGS="-m ${{ github.event.inputs.marks }}"
fi
if [[ "${{ github.event.inputs.verbose }}" == "true" ]]; then
ADD_FLAGS="$ADD_FLAGS -vvv"
fi
ADD_TOOLS=""
for tool in btd models ; do
ADD_TOOLS="$ADD_TOOLS sisl_toolbox.$tool"
Expand All @@ -129,3 +135,4 @@ jobs:
uses: codecov/codecov-action@v4
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c2e45ce

Please sign in to comment.