mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-25 03:52:08 +00:00
ci(neuron): do not run tests twice
This commit is contained in:
parent
53c1226939
commit
40e2f3f995
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@ -252,16 +252,13 @@ jobs:
|
|||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
make install-integration-tests
|
make install-integration-tests
|
||||||
- name: Run tests
|
- name: Export neuron models
|
||||||
run: |
|
run: |
|
||||||
export DOCKER_VOLUME=${{ needs.build-and-push.outputs.docker_volume }}
|
|
||||||
export DOCKER_IMAGE=${{ needs.build-and-push.outputs.docker_image }}
|
export DOCKER_IMAGE=${{ needs.build-and-push.outputs.docker_image }}
|
||||||
export DOCKER_DEVICES=${{ needs.build-and-push.outputs.docker_devices }}
|
|
||||||
export EXTRA_PYTEST="${{ needs.build-and-push.outputs.extra_pytest }}"
|
|
||||||
export HF_TOKEN=${{ secrets.HF_TOKEN_NEURON }}
|
|
||||||
echo $DOCKER_IMAGE
|
echo $DOCKER_IMAGE
|
||||||
docker pull $DOCKER_IMAGE
|
docker pull $DOCKER_IMAGE
|
||||||
pytest -s -vv integration-tests ${PYTEST_FLAGS} ${EXTRA_PYTEST}
|
export HF_TOKEN=${{ secrets.HF_TOKEN_NEURON }}
|
||||||
|
python integration-tests/fixtures/neuron/export_models.py
|
||||||
integration_tests:
|
integration_tests:
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.job }}-${{ needs.build-and-push.outputs.label_extension }}-${{ github.head_ref || github.run_id }}
|
group: ${{ github.workflow }}-${{ github.job }}-${{ needs.build-and-push.outputs.label_extension }}-${{ github.head_ref || github.run_id }}
|
||||||
|
Loading…
Reference in New Issue
Block a user