Update CI exclusion rules

- Fix build rules for deployment environment

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
This commit is contained in:
Dan Ryan
2020-04-28 21:59:55 -04:00
parent 4e7b6e6093
commit 061f430148
3 changed files with 69 additions and 14 deletions
+26
View File
@@ -2,9 +2,35 @@ name: CI
on:
push:
paths-ignore:
- 'docs/**'
- 'news/**'
- 'examples/**'
- 'peeps/**'
- '*.ini'
- '*.md'
- '**/*.txt'
- '*.rst'
- '.gitignore'
- '.gitmodules'
- '.gitattributes'
- '.editorconfig'
branches:
- master
pull_request:
paths-ignore:
- 'docs/**'
- 'news/**'
- 'examples/**'
- 'peeps/**'
- '*.ini'
- '*.md'
- '**/*.txt'
- '*.rst'
- '.gitignore'
- '.gitmodules'
- '.gitattributes'
- '.editorconfig'
jobs:
build:
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
python -m pip install .
python -m pipenv install --dev
env:
PIPENV_PYTHON: "3.7"
PIPENV_DEFAULT_PYTHON_VERSION: "3.7"
- name: Build wheels
run: |
+42 -13
View File
@@ -6,19 +6,48 @@ trigger:
- master
paths:
exclude:
- docs/*
- news/*
- peeps/*
- examples/*
- pytest.ini
- README.md
- pipenv/*.txt
- CHANGELOG.rst
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- .gitignore
- .gitattributes
- .editorconfig
- 'docs/*'
- 'news/*'
- 'peeps/*'
- 'examples/*'
- 'pytest.ini'
- 'README.md'
- 'pipenv/patched/patched.txt'
- 'pipenv/vendor/vendor_pip.txt'
- '*/LICENSE.txt'
- '*/LICENSE'
- '*.LICENSE'
- '*/vendor.txt'
- 'CHANGELOG.rst'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
- '*.md'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
pr:
paths:
exclude:
- 'docs/*'
- 'news/*'
- 'peeps/*'
- 'examples/*'
- 'pytest.ini'
- 'README.md'
- 'pipenv/patched/patched.txt'
- 'pipenv/vendor/vendor_pip.txt'
- '*/LICENSE.txt'
- '*/LICENSE'
- '*.LICENSE'
- '*/vendor.txt'
- 'CHANGELOG.rst'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
- '*.md'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
variables:
- group: CI