Skip to content

Commit

Permalink
CI updates:
Browse files Browse the repository at this point in the history
* rename some of the jobs
* reduce CI runs on push to main/dev
* reduce CI runs for PRs into dev for
  tasks that are more appropriate for PRs
  into main
  • Loading branch information
molpopgen committed Aug 16, 2023
1 parent bfe0236 commit 365bfc3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
release:
types: [created]
pull_request:
branches:
- 'main'

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
builddocs:
name: Build
name: Build manual
runs-on: ubuntu-20.04
strategy:
matrix:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/macos_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ name: macOS_x86

on:
pull_request:
push:
branches: [main, dev]

jobs:
test:
name: Python
test_macos_x86:
name: macOS_x86
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: UbuntuStressTest

on:
pull_request:
push:
branches: [main, dev]

jobs:
test:
test_ubuntu:
name: Ubuntu
runs-on: ${{ matrix.os }}
strategy:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ on:
release:
types: [created]
push:
branches: [main, dev]
# pull_request:
branches: [main]
pull_request:
branches: [main]

jobs:
macOS_wheel:
Expand Down

0 comments on commit 365bfc3

Please sign in to comment.