From e94f53ac20eca89465c0e6853e0bb28e158c3c46 Mon Sep 17 00:00:00 2001 From: Ogi Moore Date: Sun, 3 Jan 2021 12:31:53 -0800 Subject: [PATCH] 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... --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/main.yml | 38 +-------------------------- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a9966e57..05b85ca5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,6 +1,6 @@ name: codeql -on: pull_request +on: [push, pull_request] jobs: analyze: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0dac1d02..f904aca9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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