diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6f8fc0f3c8..c06f930ccd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,11 +80,12 @@ jobs: python -m pip install build python -m build -w awkward-cpp - - name: Install awkward-cpp - run: python -m pip install -v @(get-childitem -path awkward-cpp/dist/*.whl) - - - name: Build & install awkward - run: python -m pip install -v . + - name: Install awkward, awkward-cpp, and dependencies + run: >- + python -m pip install -v . @(get-childitem -path awkward-cpp/dist/*.whl) + "${{ matrix.numpy-package }}" "${{ matrix.pyarrow-package }}" + pytest-github-actions-annotate-failures + -r requirements-test.txt - name: Print versions run: python -m pip list @@ -92,9 +93,6 @@ jobs: - name: Check if kernel specification is sorted run: pipx run nox -s diagnostics -- --check-spec-sorted - - name: Install test requirements - run: python -m pip install -v -r requirements-test.txt pytest-github-actions-annotate-failures - - name: Test specification if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true' run: python -m pytest -vv -rs awkward-cpp/tests-spec @@ -156,11 +154,13 @@ jobs: python -m pip install build python -m build -w ./awkward-cpp - - name: Install awkward-cpp - run: python -m pip install -v ./awkward-cpp/dist/*.whl - - - name: Build & install awkward - run: python -m pip install -v . + - name: Install awkward, awkward-cpp, dask-awkward, and dependencies + run: >- + python -m pip install -v . ./awkward-cpp/dist/*.whl + "${{ matrix.numpy-package }}" "${{ matrix.pyarrow-package }}" + pytest-github-actions-annotate-failures + dask-awkward + -r requirements-test.txt - name: Print versions run: python -m pip list @@ -168,9 +168,6 @@ jobs: - name: Check if kernel specification is sorted run: pipx run nox -s diagnostics -- --check-spec-sorted - - name: Install test requirements - run: python -m pip install -v -r requirements-test.txt pytest-github-actions-annotate-failures - - name: Test specification if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true' run: python -m pytest -vv -rs awkward-cpp/tests-spec @@ -246,11 +243,12 @@ jobs: python -m pip install build python -m build -w ./awkward-cpp - - name: Install awkward-cpp - run: python -m pip install -v ./awkward-cpp/dist/*.whl "${{ matrix.numpy-package }}" "${{ matrix.pyarrow-package }}" - - - name: Build & install awkward - run: python -m pip install -v . + - name: Install awkward, awkward-cpp, and dependencies + run: >- + python -m pip install -v . ./awkward-cpp/dist/*.whl + "${{ matrix.numpy-package }}" "${{ matrix.pyarrow-package }}" + pytest-github-actions-annotate-failures + -r requirements-test.txt - name: Print versions run: python -m pip list @@ -258,9 +256,6 @@ jobs: - name: Check if kernel specification is sorted run: pipx run nox -s diagnostics -- --check-spec-sorted - - name: Install test requirements - run: python -m pip install -v -r requirements-test.txt pytest-github-actions-annotate-failures - - name: Test specification if: steps.cache-awkward-cpp-wheel.outputs.cache-hit != 'true' run: python -m pytest -vv -rs awkward-cpp/tests-spec @@ -332,20 +327,16 @@ jobs: python3 -m pip install build python3 -m build -w ./awkward-cpp - - name: Install awkward-cpp - run: python3 -m pip install -v ./awkward-cpp/dist/*.whl - - - name: Build & install awkward - run: python3 -m pip install -v . - - - name: Also install dask-awkward - run: python3 -m pip install dask-awkward + - name: Install awkward, awkward-cpp, dask-awkward, and dependencies + run: >- + python -m pip install -v . ./awkward-cpp/dist/*.whl + "${{ matrix.numpy-package }}" "${{ matrix.pyarrow-package }}" + pytest-github-actions-annotate-failures + dask-awkward + -r requirements-test.txt - name: Print versions run: python -m pip list - - name: Install test requirements - run: python -m pip install -v -r requirements-test.txt pytest-github-actions-annotate-failures - - name: Test run: python -m pytest -vv -rs tests