Skip to content

Commit

Permalink
ci: try build with mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutterley committed Aug 17, 2023
1 parent 238ad59 commit b55b8d5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 21 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/auto-update-bulletin-a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up conda ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
- name: Set up mamba ${{ matrix.python-version }}
- uses: mamba-org/setup-micromamba@v1
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: pyTMD
micromamba-version: '1.3.1-0'
environment-file: environment.yml
- name: Create conda Test Environment
init-shell: bash
environment-name: pyTMD
cache-environment: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}
- name: Create mamba Test Environment
run: |
conda install flake8 pytest pytest-cov cython
mamba install flake8 pytest pytest-cov cython
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/auto-update-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up conda ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
- name: Set up mamba ${{ matrix.python-version }}
- uses: mamba-org/setup-micromamba@v1
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: pyTMD
micromamba-version: '1.3.1-0'
environment-file: environment.yml
- name: Create conda Test Environment
init-shell: bash
environment-name: pyTMD
cache-environment: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}
- name: Create mamba Test Environment
run: |
conda install flake8 pytest pytest-cov cython
mamba install flake8 pytest pytest-cov cython
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/python-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up conda ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
- name: Set up mamba ${{ matrix.python-version }}
- uses: mamba-org/setup-micromamba@v1
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: pyTMD
micromamba-version: '1.3.1-0'
environment-file: environment.yml
- name: Create conda Test Environment
init-shell: bash
environment-name: pyTMD
cache-environment: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}
- name: Create mamba Test Environment
run: |
conda install openblas-devel flake8 pytest pytest-cov cython jplephem octave oct2py
mamba install openblas-devel flake8 pytest pytest-cov cython jplephem octave oct2py
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit b55b8d5

Please sign in to comment.