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

[HOLD end of August] Deal with loss of free continuous Cirrus CI #4234

Merged
merged 1 commit into from
Aug 28, 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
4 changes: 0 additions & 4 deletions .cirrus.star
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ def main(ctx):
print(env.get("CIRRUS_PR") != None)
print(env.get("CIRRUS_BASE_BRANCH") == "develop")
Comment on lines 19 to 20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print(env.get("CIRRUS_PR") != None)
print(env.get("CIRRUS_BASE_BRANCH") == "develop")
print(env.get("CIRRUS_PR") == None)
print(env.get("CIRRUS_BRANCH") == "develop")

Maybe worth changing this debug print?


# If you're targetting develop and it's a PR, run a CI job
if ((env.get("CIRRUS_BASE_BRANCH") == "develop") and (env.get("CIRRUS_PR") != None)):
return fs.read("maintainer/ci/cirrus-ci.yml")

# If it's a CRON job named twiceweekly
if ((env.get("CIRRUS_CRON") == "twiceweekly") and (env.get("CIRRUS_BRANCH") == "develop")):
return fs.read("maintainer/ci/cirrus-ci.yml")
Expand Down
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MDAnalysis Repository README
================================

|numfocus| |build| |cron| |linters| |cov|
|numfocus| |build| |cron| |cirruscron| |linters| |cov|

|docs| |devdocs| |usergroup| |developergroup| |anaconda| |asv|

Expand Down Expand Up @@ -175,6 +175,10 @@ For citations of included algorithms and sub-modules please see the references_.
:alt: Github Actions Cron Job Status
:target: https://github.com/MDAnalysis/mdanalysis/actions/workflows/gh-ci-cron.yaml

.. |cirruscron| image:: https://img.shields.io/cirrus/github/MDAnalysis/mdanalysis/develop
:alt: Cirrus CI - Cron job status
:target: https://cirrus-ci.com/github/MDAnalysis/mdanalysis/develop

.. |linters| image:: https://github.com/MDAnalysis/mdanalysis/actions/workflows/linters.yaml/badge.svg
:alt: Github Actions Linters Status
:target: https://github.com/MDAnalysis/mdanalysis/actions/workflows/linters.yaml
Expand Down
Loading