From fc321fff96983a41e1d9f87b8bee12b6ddde3ef1 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 21:26:49 +0000 Subject: [PATCH 1/2] CI run workflows on the dev branch dev is the new default branch, but run_tests, build_docs, install_from_wheel and codespell only triggered on pushes and pull requests targeting main, so PRs into dev got no CI. Trigger them on both dev and main, and point the README codecov badge at dev. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0133yjEZobSSkwp1tfxC7Jsj --- .github/workflows/build_docs.yml | 2 ++ .github/workflows/codespell.yml | 4 ++-- .github/workflows/install_from_wheel.yml | 2 ++ .github/workflows/run_tests.yml | 2 ++ README.md | 2 +- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 5251d6b78..4edb3face 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -3,11 +3,13 @@ name: Build docs on: push: branches: + - dev - main tags: - '*' pull_request: branches: + - dev - main workflow_dispatch: # Manual trigger for publishing docs diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index c40d06fd1..a97a7adc8 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -3,9 +3,9 @@ name: Codespell on: push: - branches: [main] + branches: [dev, main] pull_request: - branches: [main] + branches: [dev, main] concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/install_from_wheel.yml b/.github/workflows/install_from_wheel.yml index 731007fa9..e94f362a9 100644 --- a/.github/workflows/install_from_wheel.yml +++ b/.github/workflows/install_from_wheel.yml @@ -3,9 +3,11 @@ name: Install from wheel on: push: branches: + - dev - main pull_request: branches: + - dev - main concurrency: diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 2ebe5cce1..71eaaa3cc 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -3,9 +3,11 @@ name: Run tests on: push: branches: + - dev - main pull_request: branches: + - dev - main concurrency: diff --git a/README.md b/README.md index e03bcc4db..473a10280 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ pycortex ======== [![Build Status](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml/badge.svg)](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml) -[![codecov](https://codecov.io/gh/gallantlab/pycortex/branch/main/graph/badge.svg)](https://codecov.io/gh/gallantlab/pycortex) +[![codecov](https://codecov.io/gh/gallantlab/pycortex/branch/dev/graph/badge.svg)](https://codecov.io/gh/gallantlab/pycortex) [![PyPI](https://img.shields.io/pypi/v/pycortex)](https://pypi.org/project/pycortex/) [![Python version](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/downloads/release/python) [![License](https://img.shields.io/badge/License-BSD%202--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause) From 4ea3ceea6c22a4598ab20917fda11eb4c4d846b5 Mon Sep 17 00:00:00 2001 From: Aditya Vaidya Date: Thu, 8 Oct 2026 18:42:22 -0700 Subject: [PATCH 2/2] DOC fix build status badge in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 473a10280..10715bc2d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ pycortex ======== -[![Build Status](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml/badge.svg)](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml) +[![Build Status](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml/badge.svg?event=push)](https://github.com/gallantlab/pycortex/actions/workflows/run_tests.yml) [![codecov](https://codecov.io/gh/gallantlab/pycortex/branch/dev/graph/badge.svg)](https://codecov.io/gh/gallantlab/pycortex) [![PyPI](https://img.shields.io/pypi/v/pycortex)](https://pypi.org/project/pycortex/) [![Python version](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org/downloads/release/python)