From 5b10ccaea67555cf531ebeeddb8a4cd1bca67b25 Mon Sep 17 00:00:00 2001 From: Benjamen Meyer Date: Sat, 9 Jan 2021 00:50:54 -0500 Subject: [PATCH] GH: Cleanup --- .github/workflows/ci-gh-actions.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-gh-actions.yml b/.github/workflows/ci-gh-actions.yml index b4e6e98..433a38d 100644 --- a/.github/workflows/ci-gh-actions.yml +++ b/.github/workflows/ci-gh-actions.yml @@ -1,6 +1,6 @@ name: Stack-In-A-Box CI -on: [push, pull_request] +on: [pull_request] jobs: lint: @@ -13,9 +13,6 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - if: ${{ github.event_name }} == 'pull_request' - - uses: actions/checkout@v2 - if: ${{ github.event_name }} != 'pull_request' - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: @@ -35,9 +32,6 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - if: ${{ github.event_name }} == 'pull_request' - - uses: actions/checkout@v2 - if: ${{ github.event_name }} != 'pull_request' - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: @@ -48,9 +42,7 @@ jobs: run: tox -v -e py${{ matrix.python-version }} -- -v - name: Run Tox Optional Modules run: tox -v -e py3-httpretty,py3-requests-mock,py3-responses -- -v - - name: Build Docs - run: tox -v -e docs -- -v - build: + docs: runs-on: ubuntu-latest strategy: fail-fast: true @@ -60,9 +52,6 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - if: ${{ github.event_name }} == 'pull_request' - - uses: actions/checkout@v2 - if: ${{ github.event_name }} != 'pull_request' - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: