mirror of
https://github.com/curl/curl.git
synced 2026-07-28 22:53:07 +03:00
GHA: optimize test prereq steps
- Linux: move test and pytest prereqs right before test run. - returns build phase results faster. - allows skipping steps for jobs that don't need them. - makes dependencies more transparent. - sync prereq install step names. - use `tests/requirements.txt` more. Closes #15275
This commit is contained in:
parent
75dfb7b649
commit
e8a007de0d
6 changed files with 92 additions and 74 deletions
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
|
|
@ -281,7 +281,7 @@ jobs:
|
|||
timeout-minutes: 10
|
||||
run: make -C bld -j5 V=1 -C tests
|
||||
|
||||
- name: 'install test tools'
|
||||
- name: 'install test prereqs'
|
||||
if: ${{ matrix.build == 'autotools' && matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
|
|
@ -372,7 +372,7 @@ jobs:
|
|||
timeout-minutes: 10
|
||||
run: cmake --build bld --config '${{ matrix.type }}' --target testdeps
|
||||
|
||||
- name: 'install test tools'
|
||||
- name: 'install test prereqs'
|
||||
if: ${{ matrix.build == 'cmake' && matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
|
|
@ -500,7 +500,7 @@ jobs:
|
|||
PATH="$(cygpath "${USERPROFILE}")/my-cache/${{ matrix.dir }}/bin:/c/msys64/usr/bin:$PATH"
|
||||
cmake --build bld --config '${{ matrix.type }}' --parallel 5 --target testdeps
|
||||
|
||||
- name: 'install test tools'
|
||||
- name: 'install test prereqs'
|
||||
if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
|
|
@ -783,7 +783,7 @@ jobs:
|
|||
timeout-minutes: 10
|
||||
run: cmake --build bld --config '${{ matrix.type }}' --parallel 5 --target testdeps
|
||||
|
||||
- name: 'install test tools'
|
||||
- name: 'install test prereqs'
|
||||
if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue