mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 07:42:06 +00:00
remove workflow
This commit is contained in:
parent
5f85220158
commit
a3cea9c119
30
.github/workflows/server-tests.yaml
vendored
30
.github/workflows/server-tests.yaml
vendored
@ -1,30 +0,0 @@
|
|||||||
name: Server tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- ".github/workflows/server-tests.yaml"
|
|
||||||
- "server/**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run_tests:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v1
|
|
||||||
with:
|
|
||||||
python-version: 3.9
|
|
||||||
- name: Loading cache.
|
|
||||||
uses: actions/cache@v2
|
|
||||||
id: model_cache
|
|
||||||
with:
|
|
||||||
path: ~/.cache/huggingface/
|
|
||||||
key: models
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
make install-server
|
|
||||||
pip install pytest
|
|
||||||
- name: Run tests (shard)
|
|
||||||
run: |
|
|
||||||
pytest -sv server/tests
|
|
Loading…
Reference in New Issue
Block a user