Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default branch to main in workflows #539

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Tests

on:
push:
branches: "*"
branches: [ "main" ]
paths-ignore:
- 'docs/**'
pull_request:
branches: [master, beam-refactor]
branches: [ "main" ]
paths-ignore:
- 'docs/**'

Expand All @@ -24,10 +24,6 @@ env:
# - Generating the cache key
# - Actually loading the environment using the key
# - Adding the path ``/usr/share/miniconda3/envs/pangeo-forge-recipes/bin`` to $PATH
#
# Apart from the caching logic, we use pytest marks to parallelize execution across different
# executors. These marks are configured in tests/conftest.py, and represent a testing regime
# which pre-dates the beam-refactor. We may want to deprecate them.

jobs:
prepare-env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Integration tests

on:
push:
branches: [ "beam-refactor" ] # FIXME: change to default branch post-merge
branches: [ "main" ]
pull_request:
branches: [ "beam-refactor" ] # FIXME: change to default branch post-merge
branches: [ "main" ]
types: [ opened, reopened, synchronize, labeled ]

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test Tutorial Notebooks

on:
push:
branches: master
branches: main
repository_dispatch:
types: [run-test-tutorials-command]
workflow_dispatch:
Expand Down
Loading