Skip to content

Commit

Permalink
Tidied workflow yamls to streamline actions after merges
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryBarnes committed Feb 5, 2024
1 parent d15e244 commit 218ad02
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: docs

on:
push:
branches: [master, main]
#pull_request: TODO: Enable me
# branches:[master, main]
branches: [main]

jobs:
tests:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/pip-install.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: pip-install
on:
release:
types:
- published
types: [published]

jobs:
build_wheels:
Expand All @@ -11,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, acos-11, macos-12, macos-13]
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
exclude:
- os: ubuntu-22.04
python-version: '3.6'
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests-linux.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: tests-linux

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/tests-macos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: tests-macos
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
Expand All @@ -14,7 +12,7 @@ jobs:
matrix:
os: [macos-11, macos-12, macos-13]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']

fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -41,4 +39,3 @@ jobs:
- name: Get unique id
uses: Tiryoh/gha-jobid-action@v1
id: jobs

0 comments on commit 218ad02

Please sign in to comment.