Skip to content
Closed
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
39 changes: 39 additions & 0 deletions .github/workflows/main_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: integration_test_macos

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-macos:
runs-on: macos-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Setup Mambaforge (macOS arm64)
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
architecture: arm64
python-version: 3.10
activate-environment: false
auto-update-conda: true

- name: Create Conda Environment
run: |
# Now `mamba` is on PATH
mamba create -n marine_environment python=3.10 -y
mamba env update -n marine_environment --file marine_environment2.yaml

- name: Run Integration Tests
run: |
conda init bash
CONDA_BASE=$(conda info --base) ; source $CONDA_BASE/etc/profile.d/conda.sh
conda activate marine_environment
cd tests
bash integration_tests_run.sh $(which python)
Loading