Skip to content

Commit

Permalink
CI: Stop running actions on dev branch.
Browse files Browse the repository at this point in the history
We already run them in the PR!
  • Loading branch information
pmav99 committed Aug 22, 2024
1 parent f0a5492 commit 5de13af
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/conda_pip.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: "Conda + pip"


# Use login shell everywhere
# https://github.com/mamba-org/setup-micromamba/tree/fcc371cea11af9012e5e916ab2dab44b42acdaaa#about-login-shells

Expand All @@ -10,7 +9,6 @@ on:
branches:
- "main"
- "master"
- "dev"
paths:
- "**.py"
- ".github/workflows/*.yml"
Expand All @@ -26,7 +24,6 @@ on:
- "locks/*"

jobs:

run-linters:
name: "Run linters"
runs-on: "ubuntu-latest"
Expand Down Expand Up @@ -56,9 +53,9 @@ jobs:
matrix:
# os: [ "ubuntu-latest", "macos-latest" ]
# mpi: [ "mpich", "openmpi" ]
os: [ "ubuntu-latest"]
mpi: [ "openmpi" ]
python: [ "3.9", "3.10", "3.11", "3.12" ]
os: ["ubuntu-latest"]
mpi: ["openmpi"]
python: ["3.9", "3.10", "3.11", "3.12"]

env:
SCHISM_ENV: "SCHISM_ENV"
Expand All @@ -85,7 +82,6 @@ jobs:
echo export MAMBA_EXE=$(which micromamba) | tee -a ~/.bashrc
echo export MAMBA_ROOT_PREFIX=~/micromamba | tee -a ~/.bashrc
- run: which micromamba

- name: "Create ~/.condarc"
run: |
rm -rf ~/.condarc
Expand All @@ -99,7 +95,6 @@ jobs:
- conda-forge
EOF
- run: cat ~/.condarc

- name: "Cache ${{ env.SCHISM_ENV }}"
uses: actions/cache@v3
id: cache-SCHISM_ENV
Expand Down

0 comments on commit 5de13af

Please sign in to comment.