From 3462cfd7c180630ad5260f815bf0ed2dfe96faab Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:14:22 -0700 Subject: [PATCH] modify M1 CI --- .github/workflows/ci.yml | 41 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8dd2ee..d8ae1f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu-latest", "macos-latest", "macos-14", "windows-latest"] - python-version: [ "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.9", "3.11", "3.12" ] steps: - name: Cancel previous runs uses: styfle/cancel-workflow-action@0.11.0 @@ -47,6 +47,45 @@ jobs: run: | conda list + test_M1: + name: Python (${{ matrix.python-version }}, ${{ matrix.os }}) + runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash -l {0} + + strategy: + fail-fast: false + matrix: + os: [ "macos-14" ] + python-version: [ "3.9", "3.11", "3.12" ] + steps: + - name: Cancel previous runs + uses: styfle/cancel-workflow-action@0.11.0 + with: + access_token: ${{ github.token }} + - name: checkout + uses: actions/checkout@v3 + with: + token: ${{ github.token }} + - name: conda_setup + uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: geocat_viz_build + channel-priority: strict + python-version: ${{ matrix.python-version }} + architecture: arm64 + channels: conda-forge + environment-file: build_envs/environment.yml + + - name: Install geocat-viz + run: | + python -m pip install . --no-deps + + - name: conda list + run: | + conda list + link-check: runs-on: ubuntu-latest defaults: