Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
harripd authored May 17, 2024
1 parent c69b328 commit ceb0bc3
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,36 @@ jobs:
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{matrix.python-version}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
# - name: Setup Python ${{matrix.python-version}}
# uses: actions/setup-python@v4
# with:
# python-version: ${{matrix.python-version}}
- name: Upgrade pip
run: python -m pip install --upgrade pip
# - name: Windows 3.6 Oddities
# if: matrix.python-version == 3.6 && runner.os == 'Windows'
# run: python -m pip install pwintypy==1.1.6
# - name: Install Conda
# uses: conda-incubator/setup-miniconda@v3
# with:
# auto-update-conda: true
# channels: conda-forge
# python-version: ${{matrix.python-version}}
# activate-environment: test
- name: Apple Silicon oddities
if: matrix.os == 'macos-14'
run: |
brew install c-blosc hdf5
export HDF5_DIR=/opt/homebrew/opt/hdf5
export BLOSC_DIR=/opt/homebrew/opt/c-blosc
- name: Install Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
python-version: ${{matrix.python-version}}
activate-environment: test
# - name: Apple Silicon oddities
# if: matrix.os == 'macos-14'
# run: |
# brew install c-blosc hdf5
# export HDF5_DIR=/opt/homebrew/opt/hdf5
# export BLOSC_DIR=/opt/homebrew/opt/c-blosc
- name: Install Dependencies
run: |
conda install -y python
python -m pip install --upgrade pip
python -m pip install setuptools build pytest cython
python -m pip install numpy tables matplotlib pandas
# conda install numpy pytables matplotlib pandas
# python -m pip install setuptools build pytest cython
# python -m pip install numpy tables matplotlib pandas
conda install numpy cython pytest
conda install pytables matplotlib pandas numba
- name: build phconvert
run: |
# python -m build
Expand Down

0 comments on commit ceb0bc3

Please sign in to comment.