Skip to content

Commit

Permalink
ci: perform installs in single pass
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Oct 28, 2023
1 parent 3f623ee commit b34600b
Showing 1 changed file with 26 additions and 35 deletions.
61 changes: 26 additions & 35 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,19 @@ 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

- 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
Expand Down Expand Up @@ -156,21 +154,20 @@ 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

- 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
Expand Down Expand Up @@ -246,21 +243,19 @@ 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

- 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
Expand Down Expand Up @@ -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

0 comments on commit b34600b

Please sign in to comment.