Skip to content

Commit

Permalink
Attempt 4 to get CI working on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
fjclark committed Sep 17, 2024
1 parent aa97ffd commit 8c2804a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
PACKAGE_NAME := red
PACKAGE_DIR := red

# Required to get things working on MacOS GitHub CI
SHELL_SETUP = source ~/.bashrc && source ~/.bash_profile

# If we're running in GitHub Actions, we need to use micromamba instead of conda and activate the environment
CONDA_ENV_RUN = $(if $(GITHUB_ACTIONS),$(SHELL_SETUP) && micromamba run -n $(PACKAGE_NAME),conda run --no-capture-output --name $(PACKAGE_NAME))
# If we're running in GitHub Actions, we need to use micromamba instead of conda
CONDA_ENV_RUN = $(if $(GITHUB_ACTIONS),bash -l -c 'micromamba run -n $(PACKAGE_NAME)',conda run --no-capture-output --name $(PACKAGE_NAME))

TEST_ARGS := -v --cov=$(PACKAGE_NAME) --cov-report=term --cov-report=xml --junitxml=unit.xml --color=yes

Expand Down

0 comments on commit 8c2804a

Please sign in to comment.