6
0

Fixed test workflow

This commit is contained in:
Jon Michael Aanes 2023-12-12 13:35:24 +01:00
parent a71a8ebaa0
commit a97eaf6992

View File

@ -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: