minor adjustment on when test runs (#1479)

* minor adjustment on when test runs

* Remove pytest publish results, add sphinx nitpicky

* Deal with nit-picky mode later

* why bother w/ those artifacts...
This commit is contained in:
Ogi Moore 2021-01-03 12:31:53 -08:00 committed by GitHub
parent d8e4911fcd
commit e94f53ac20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 38 deletions

View File

@ -1,6 +1,6 @@
name: codeql
on: pull_request
on: [push, pull_request]
jobs:
analyze:

View File

@ -94,33 +94,9 @@ jobs:
name: Screenshots (Python ${{ matrix.python-version }} - Qt-Bindings ${{ matrix.qt-lib }} - OS ${{ matrix.os }})
path: $SCREENSHOT_DIR
if-no-files-found: ignore
- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@v2
with:
name: Unit Test Results (Python ${{ matrix.python-version }} - Qt-Bindings ${{ matrix.qt-lib }} - OS ${{ matrix.os }})
path: pytest.xml
env:
SCREENSHOT_DIR: ./screenshots
publish-test-results:
name: "Publish Unit Test Results"
needs: test
runs-on: ubuntu-latest
if: success() || failure()
steps:
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
path: artifacts
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1.6
with:
check_name: Unit Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
files: "artifacts/**/pytest.xml"
build-docs:
name: build docs
runs-on: ubuntu-latest
@ -138,13 +114,7 @@ jobs:
- name: Build Documentation
run: |
cd doc
make html SPHINXOPTS='-W -v'
- name: Upload Build Docs
uses: actions/upload-artifact@v2
with:
name: html-docs
path: |
doc/build/html
make html SPHINXOPTS='-W --keep-going -v'
build-wheel:
name: build wheel
@ -160,9 +130,3 @@ jobs:
run: |
python -m pip install setuptools wheel
python setup.py bdist_wheel
- name: Archive pyqtgraph wheel
uses: actions/upload-artifact@v2
with:
name: wheel
path: |
dist