diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfa08abb..797469aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,9 @@ name: CI on: push: - branches: [ development ] + branches: + - main + - development tags: [ "**" ] pull_request: branches: [ "**" ] diff --git a/src/plotman/job.py b/src/plotman/job.py index 6314d168..5a34ce60 100644 --- a/src/plotman/job.py +++ b/src/plotman/job.py @@ -27,7 +27,7 @@ def job_phases_for_dstdir(d, all_jobs): def is_plotting_cmdline(cmdline): return ( len(cmdline) >= 4 - and 'python' in cmdline[0] + and 'python' in cmdline[0].lower() and cmdline[1].endswith('/chia') and 'plots' == cmdline[2] and 'create' == cmdline[3] @@ -106,7 +106,7 @@ def __init__(self, proc, logroot): # Parse command line args args = self.proc.cmdline() assert len(args) > 4 - assert 'python' in args[0] + assert 'python' in args[0].lower() assert 'chia' in args[1] assert 'plots' == args[2] assert 'create' == args[3]