mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-25 01:50:21 +00:00
ci: add set up python to test_unit job (#743)
This commit is contained in:
parent
9d3f7183fd
commit
9443bd40e2
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -121,6 +121,10 @@ jobs:
|
|||||||
.venv
|
.venv
|
||||||
nltk_data
|
nltk_data
|
||||||
key: unstructured-${{ runner.os }}-${{ matrix.python-version }}-${{ env.GHA_CACHE_KEY_VERSION }}-${{ hashFiles('requirements/*.txt') }}
|
key: unstructured-${{ runner.os }}-${{ matrix.python-version }}-${{ env.GHA_CACHE_KEY_VERSION }}-${{ hashFiles('requirements/*.txt') }}
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Setup virtual environment (no cache hit)
|
- name: Setup virtual environment (no cache hit)
|
||||||
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
|
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
@ -160,6 +164,10 @@ jobs:
|
|||||||
.venv
|
.venv
|
||||||
nltk_data
|
nltk_data
|
||||||
key: unstructured-${{ runner.os }}-${{ matrix.python-version }}-${{ env.GHA_CACHE_KEY_VERSION }}-${{ hashFiles('requirements/*.txt') }}
|
key: unstructured-${{ runner.os }}-${{ matrix.python-version }}-${{ env.GHA_CACHE_KEY_VERSION }}-${{ hashFiles('requirements/*.txt') }}
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Setup virtual environment (no cache hit)
|
- name: Setup virtual environment (no cache hit)
|
||||||
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
|
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user