Skip to content

Commit

Permalink
Merge pull request #332 from pyiron/nodev
Browse files Browse the repository at this point in the history
Remove conda default channel
  • Loading branch information
jan-janssen authored Aug 27, 2024
2 parents e6e5811 + a26c415 commit 42b714b
Show file tree
Hide file tree
Showing 13 changed files with 49 additions and 68 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ jobs:
tail --lines=+4 .ci_support/environment-lammps.yml >> environment.yml
tail --lines=+4 .ci_support/environment-qe.yml >> environment.yml
sed -i 's/- scipy =1.13.0/- scipy =1.12.0/g' environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.11'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.11
mamba-version: "*"
channels: conda-forge
miniforge-variant: Mambaforge
channel-priority: strict
auto-update-conda: true
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment.yml
- name: Convert dependencies
run: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.12'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-notebooks.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
run: |
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/pypicheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.10'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
python-version: '3.12'
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment.yml
use-mamba: true
- name: Pip check
shell: bash -l {0}
run: |
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,24 @@ jobs:
- uses: actions/checkout@v4
- name: Setup environment (windows)
if: matrix.operating-system == 'windows-latest'
run: cp .ci_support/environment.yml environment.yml
shell: bash -l {0}
run: |
cp .ci_support/environment.yml environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup environment (unix)
if: matrix.operating-system != 'windows-latest'
shell: bash -l {0}
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-lammps.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unittests_abinit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-abinit.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.12'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unittests_gpaw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-gpaw.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.12'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unittests_mace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-mace.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.12'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 60
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unittests_matgl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-matgl.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.11'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 60
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/unittests_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.9'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: .ci_support/environment-old.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unittests_qe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-qe.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.11'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 60
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/unittests_siesta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
run: |
cp .ci_support/environment.yml environment.yml
tail --lines=+4 .ci_support/environment-siesta.yml >> environment.yml
echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '3.12'
miniforge-variant: Mambaforge
channels: conda-forge
channel-priority: strict
activate-environment: my-env
miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
use-mamba: true
- name: Test
shell: bash -l {0}
timeout-minutes: 30
Expand Down

0 comments on commit 42b714b

Please sign in to comment.