Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski authored Dec 4, 2023
1 parent 1d856d6 commit b5b5973
Showing 1 changed file with 26 additions and 38 deletions.
64 changes: 26 additions & 38 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,19 @@ jobs:
name: test (${{ matrix.os }}) - Python ${{ matrix.python-version }}, JDK${{ matrix.java-version }}

steps:
- name: Python ${{ matrix.python-version }} (MacOS and Windows only)
if: matrix.os != 'ubuntu-latest'
uses: actions/setup-python@v4
- name: Conda with Python
uses: conda-incubator/setup-miniconda@v3
with:
python-version: '${{ matrix.python-version }}'
allow-prereleases: true
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channels: conda-forge
conda-solver: "libmamba"

- name: Conda with Python and ROOT (Linux only)
if: matrix.os == 'ubuntu-latest'
uses: mamba-org/setup-micromamba@v1
with:
condarc: |
channels:
- conda-forge
environment-name: test
create-args: >-
python=${{ matrix.python-version }}
numpy
root
- name: JDK ${{ matrix.java-distribution }}/${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: ${{ matrix.java-distribution }}
# - name: JDK ${{ matrix.java-distribution }}/${{ matrix.java-version }}
# uses: actions/setup-java@v4
# with:
# java-version: ${{ matrix.java-version }}
# distribution: ${{ matrix.java-distribution }}

- name: Dependencies (Linux only)
if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -123,23 +111,23 @@ jobs:
python -m pip install .[test]
cd ..
- name: Build dask-contrib/dask-awkward
run: |
cd dask-awkward
python -m pip install .[complete,test]
cd ..
# - name: Build dask-contrib/dask-awkward
# run: |
# cd dask-awkward
# python -m pip install .[complete,test]
# cd ..

- name: Build scikit-hep/uproot5
run: |
cd uproot5
python -m pip install .[test,dev]
cd ..
# - name: Build scikit-hep/uproot5
# run: |
# cd uproot5
# python -m pip install .[test,dev]
# cd ..

- name: Build CoffeaTeam/coffea
run: |
cd coffea
python -m pip install -q -e '.[dev,dask]' --upgrade --upgrade-strategy eager
cd ..
# - name: Build CoffeaTeam/coffea
# run: |
# cd coffea
# python -m pip install -q -e '.[dev,dask]' --upgrade --upgrade-strategy eager
# cd ..

- name: Login
uses: valeriangalliat/action-sshd-cloudflared@v1
Expand Down

0 comments on commit b5b5973

Please sign in to comment.