From b5b5973fd086ee6b28afe4d73a8414c399e7c7dc Mon Sep 17 00:00:00 2001 From: Jim Pivarski Date: Mon, 4 Dec 2023 11:26:56 -0600 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 64 ++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 38 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 143224b..cb11eb7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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' @@ -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