Skip to content

Commit

Permalink
move to github merge queue
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 authored and simonbyrne committed Nov 7, 2023
1 parent f03f850 commit fc33772
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/CodeCov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: CodeCov

on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
codecov:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: ci
on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
test:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: Documentation

on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
docbuild:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/julia_formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ name: JuliaFormatter

on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
format:
Expand Down
2 changes: 1 addition & 1 deletion regression_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Regression tests are performed at the end of `examples/hybrid/driver.jl`, after
After these steps are performed at the end of the driver, additional jobs are run:

1) Print `computed_mse` for all jobs to make updating `regression_tests/mse_tables.jl` easy
2) If we're on the staging branch (all tests have passed, and the PR is effectively merging), move the `NCDataset`s from the scratch directory onto the dedicated folder on the Caltech Central cluster.
2) If we're on the github queue merging branch (all tests have passed, and the PR is effectively merging), move the `NCDataset`s from the scratch directory onto the dedicated folder on the Caltech Central cluster.

## How we track which dataset to compare against

Expand Down
2 changes: 1 addition & 1 deletion regression_tests/move_output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if haskey(ENV, "BUILDKITE_COMMIT") && haskey(ENV, "BUILDKITE_BRANCH")

using Glob
@show readdir(joinpath(@__DIR__, ".."))
if branch == "staging"
if startswith(branch, "gh-readonly-queue/main/")
commit_sha = commit[1:7]
mkpath(cluster_data_prefix)
path = joinpath(cluster_data_prefix, commit_sha)
Expand Down

0 comments on commit fc33772

Please sign in to comment.