ci: don't run tests on docs only change
This commit is contained in:
parent
a9cfdc843e
commit
09d30cf1a6
1 changed files with 12 additions and 4 deletions
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
|
@ -1,10 +1,18 @@
|
|||
name: Test
|
||||
name: Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'LICENSE'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'LICENSE'
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
unit:
|
||||
name: Unit Test
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
|
@ -34,4 +42,4 @@ jobs:
|
|||
|
||||
- name: Run tests
|
||||
run: pytest
|
||||
working-directory: test
|
||||
working-directory: test
|
||||
|
|
Loading…
Reference in a new issue