Skip to content

Commit

Permalink
Pin CI to macos-12 (#312)
Browse files Browse the repository at this point in the history
* pin to macos-12

* Update conda_cron.yaml

* Update ci.yaml

* Update conda_cron.yaml

* Update ci.yaml
  • Loading branch information
IAlibay authored May 1, 2024
1 parent 2425b4c commit 12bc644
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "CI"
on:
# Allow for workflows to be manuallly triggered
workflow_dispatch:
pull_request:
branches:
- main
Expand All @@ -20,22 +22,24 @@ defaults:

jobs:
tests:
runs-on: ${{ matrix.OS }}-latest
runs-on: ${{ matrix.OS }}
name: "💻-${{matrix.os }} 🐍-${{ matrix.python-version }} 🗃️${{ matrix.pydantic-version }}"
strategy:
fail-fast: false
matrix:
os: ['ubuntu']
os: ['ubuntu-latest']
pydantic-version: [">1"]
python-version:
- "3.9"
- "3.10"
- "3.11"
include:
- os: "macos"
# Note: pinned to macos-12
# see https://github.com/OpenFreeEnergy/openfe/issues/842
- os: "macos-12"
python-version: "3.11"
pydantic-version: ">1"
- os: "ubuntu"
- os: "ubuntu-latest"
python-version: "3.11"
pydantic-version: "<2"

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/conda_cron.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: "conda_cron"
on:
# Allow for manual trigger of workflow
workflow_dispatch:
schedule:
# At 07:00 UTC every day
- cron: "0 7 * * *"
Expand All @@ -14,12 +16,14 @@ defaults:

jobs:
condacheck:
runs-on: ${{ matrix.OS }}-latest
runs-on: ${{ matrix.OS }}
name: "daily conda check"
strategy:
fail-fast: false
matrix:
os: ['ubuntu', 'macos']
# Note: pinned to macos-12
# see https://github.com/OpenFreeEnergy/openfe/issues/842
os: ['ubuntu-latest', 'macos-12']
python-version:
- "3.9"
- "3.10"
Expand Down

0 comments on commit 12bc644

Please sign in to comment.