gha: Add paths-ignore
This commit is contained in:
parent
824187d952
commit
80dbab43d3
1 changed files with 15 additions and 7 deletions
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
|
|
@ -1,6 +1,13 @@
|
||||||
name: 'Test'
|
name: 'Test'
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- 'LICENSE'
|
||||||
|
- 'README.md'
|
||||||
|
- 'images'
|
||||||
|
- '.gitignore'
|
||||||
|
- '.vscode'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
@ -28,21 +35,22 @@ jobs:
|
||||||
name: coverage
|
name: coverage
|
||||||
path: coverage
|
path: coverage
|
||||||
|
|
||||||
# - name: Build production
|
|
||||||
# run: npm run build
|
|
||||||
|
|
||||||
|
|
||||||
test-prod:
|
test-prod:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
needs: test
|
needs: test
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# os: ['ubuntu-18.04', 'macOS-10.14']
|
|
||||||
os: ['ubuntu-18.04', 'macOS-10.14', 'windows-2019']
|
os: ['ubuntu-18.04', 'macOS-10.14', 'windows-2019']
|
||||||
# hugo-version: ['latest']
|
|
||||||
# extended: [true]
|
|
||||||
hugo-version: ['latest', '0.57.2']
|
hugo-version: ['latest', '0.57.2']
|
||||||
extended: [true, false]
|
extended: [true, false]
|
||||||
|
# exclude:
|
||||||
|
# - os: 'macOS-10.14'
|
||||||
|
# hugo-version: 'latest'
|
||||||
|
# extended: false
|
||||||
|
# - os: 'windows-2019'
|
||||||
|
# hugo-version: 'latest'
|
||||||
|
# extended: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue