|
1 | | -name: CI |
| 1 | +# name: CI |
2 | 2 |
|
3 | | -on: |
4 | | - push: |
5 | | - branches: [ "develop", "master" ] |
6 | | - pull_request: |
7 | | - branches: [ "develop", "master" ] |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: [ "develop", "master" ] |
| 6 | +# pull_request: |
| 7 | +# branches: [ "develop", "master" ] |
8 | 8 |
|
9 | | -jobs: |
10 | | - test: |
11 | | - runs-on: ubuntu-latest |
12 | | - strategy: |
13 | | - matrix: |
14 | | - python-version: ["3.9", "3.10", "3.11"] |
15 | | - fail-fast: false |
| 9 | +# jobs: |
| 10 | +# test: |
| 11 | +# runs-on: ubuntu-latest |
| 12 | +# strategy: |
| 13 | +# matrix: |
| 14 | +# python-version: ["3.9", "3.10", "3.11"] |
| 15 | +# fail-fast: false |
16 | 16 |
|
17 | | - steps: |
18 | | - - uses: actions/checkout@v4 |
| 17 | +# steps: |
| 18 | +# - uses: actions/checkout@v4 |
19 | 19 |
|
20 | | - - name: Set up Python ${{ matrix.python-version }} |
21 | | - uses: actions/setup-python@v5 |
22 | | - with: |
23 | | - python-version: ${{ matrix.python-version }} |
| 20 | +# - name: Set up Python ${{ matrix.python-version }} |
| 21 | +# uses: actions/setup-python@v5 |
| 22 | +# with: |
| 23 | +# python-version: ${{ matrix.python-version }} |
24 | 24 |
|
25 | | - - name: Set up pip cache |
26 | | - uses: actions/cache@v3 |
27 | | - with: |
28 | | - path: ~/.cache/pip |
29 | | - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} |
30 | | - restore-keys: | |
31 | | - ${{ runner.os }}-pip- |
| 25 | +# - name: Set up pip cache |
| 26 | +# uses: actions/cache@v3 |
| 27 | +# with: |
| 28 | +# path: ~/.cache/pip |
| 29 | +# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} |
| 30 | +# restore-keys: | |
| 31 | +# ${{ runner.os }}-pip- |
32 | 32 |
|
33 | | - - name: Install PyTorch CPU |
34 | | - run: | |
35 | | - python -m pip install --upgrade pip |
36 | | - pip install torch --index-url https://download.pytorch.org/whl/cpu |
| 33 | +# - name: Install PyTorch CPU |
| 34 | +# run: | |
| 35 | +# python -m pip install --upgrade pip |
| 36 | +# pip install torch --index-url https://download.pytorch.org/whl/cpu |
37 | 37 |
|
38 | | - - name: Install dependencies |
39 | | - run: | |
40 | | - pip install ruff pytest-cov |
41 | | - pip install -r requirements.txt |
42 | | - pip install -r requirements-test.txt |
| 38 | +# - name: Install dependencies |
| 39 | +# run: | |
| 40 | +# pip install ruff pytest-cov |
| 41 | +# pip install -r requirements.txt |
| 42 | +# pip install -r requirements-test.txt |
43 | 43 |
|
44 | | - - name: Lint with ruff |
45 | | - run: | |
46 | | - ruff check . |
| 44 | +# - name: Lint with ruff |
| 45 | +# run: | |
| 46 | +# ruff check . |
47 | 47 |
|
48 | 48 |
|
49 | | - - name: Test with pytest |
50 | | - run: | |
51 | | - pytest --asyncio-mode=auto --cov=api --cov-report=term-missing |
| 49 | +# - name: Test with pytest |
| 50 | +# run: | |
| 51 | +# pytest --asyncio-mode=auto --cov=api --cov-report=term-missing |
0 commit comments