Fixed test workflow
This commit is contained in:
parent
a71a8ebaa0
commit
a97eaf6992
|
@ -12,6 +12,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: hashFiles("test/*.py") != ''
|
||||||
|
steps:
|
||||||
- name: Install test dependencies
|
- name: Install test dependencies
|
||||||
run: pip install -y pytest
|
run: pip install -y pytest
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
@ -20,7 +22,6 @@ jobs:
|
||||||
run: python3 -m build
|
run: python3 -m build
|
||||||
- name: Test
|
- name: Test
|
||||||
run: pyest test
|
run: pyest test
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user