From 3c4c3fed01c40fe411aee11615ddd45347149b21 Mon Sep 17 00:00:00 2001 From: xumi1993 Date: Fri, 8 Nov 2024 22:26:12 -0500 Subject: [PATCH] update CI --- .github/workflows/build-docs.yml | 2 +- .github/workflows/build-test-conda.yml | 2 ++ .github/workflows/python-publish.yml | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index bd1bef1..b3e14fe 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -5,7 +5,7 @@ name: Build documentations on: push: - branches: [ "docs" ] + branches: [ "docs", "main" ] workflow_run: workflows: ["Upload Python Package"] types: diff --git a/.github/workflows/build-test-conda.yml b/.github/workflows/build-test-conda.yml index 586b946..0661b6a 100644 --- a/.github/workflows/build-test-conda.yml +++ b/.github/workflows/build-test-conda.yml @@ -3,6 +3,8 @@ name: Python Package using Conda on: push: branches: [ devel ] + pull_request: + branches: [ devel, main ] jobs: build-linux: diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5bde2f5..263d052 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -9,7 +9,7 @@ name: Upload Python Package on: - pull_request: + push: branches: [ main ] permissions: diff --git a/pyproject.toml b/pyproject.toml index 3d85d95..148fbc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" name = "PyTomoATT" description = "Your project description" authors = [ - { name = "Mijian Xu", email = "mijian.xu@ntu.edu.sg" }, + { name = "Mijian Xu", email = "gomijianxu@gmail.com" }, { name = "Masaru Nagaso" } ] license = { text = "GPL-3.0" }