[go: nahoru, domu]

Skip to content

Commit

Permalink
ci(tests): update actions and python version
Browse files Browse the repository at this point in the history
also upgrade pip setuptools wheel each time tests run
  • Loading branch information
nauaneed committed Nov 28, 2023
1 parent 221dfbd commit 98dd3dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9]
python-version: [3.11]

runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
Expand All @@ -40,6 +40,7 @@ jobs:
run: |
conda info
conda install -c conda-forge numpy cython h5py
python -m pip install --upgrade pip setuptools wheel
python -m pip install https://github.com/pypr/cyarray/zipball/master
python -m pip install https://github.com/pypr/compyle/zipball/master
python -m pip install -r requirements.txt -r requirements-test.txt
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/zoltan-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9]
python-version: [3.11]

env:
USE_TRILINOS: 1
Expand All @@ -26,13 +26,13 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Linux packages ZOLTAN support
run: |
sudo apt-get update
sudo apt-get install -y openmpi-bin libopenmpi-dev libtrilinos-zoltan-dev
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
Expand All @@ -41,6 +41,7 @@ jobs:
run: |
conda info
conda install -c conda-forge numpy cython
python -m pip install --upgrade pip setuptools wheel
python -m pip install mpi4py cyarray
python -m pip install --no-build-isolation https://github.com/pypr/pyzoltan/zipball/master
python -m pip install https://github.com/pypr/compyle/zipball/master
Expand Down

0 comments on commit 98dd3dc

Please sign in to comment.