Adding a check to skip duplicate builds on pull_request/push, updating dependencies and fixing file permissions

This commit is contained in:
Artem Veremey
2021-05-31 21:22:09 -07:00
parent dd050ade9a
commit c8ccc5cb46
7 changed files with 39 additions and 75 deletions

View File

@@ -9,6 +9,7 @@ jobs:
linting:
name: Linting
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout Code
uses: actions/checkout@v2
@@ -39,6 +40,7 @@ jobs:
name: ubuntu-latest - Python 3.9
needs: linting
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Checkout Code
uses: actions/checkout@v2
@@ -85,6 +87,7 @@ jobs:
name: Python (${{ matrix.python-version }}, ${{ matrix.os }})
needs: test
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: true
matrix:
@@ -145,6 +148,7 @@ jobs:
name: Conda (${{ matrix.python-version }}, ${{ matrix.os }})
needs: test
runs-on: ${{ matrix.os }}-latest
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:

0
.github/workflows/windows.yml vendored Executable file → Normal file
View File