Skip to content

Commit 09ab70f

Browse files
author
Roman
committed
left just e2e tests
1 parent 8f7751f commit 09ab70f

File tree

2 files changed

+0
-83
lines changed

2 files changed

+0
-83
lines changed

.github/workflows/check-btcli-tests.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -188,41 +188,3 @@ jobs:
188188
run: |
189189
source ${{ github.workspace }}/venv/bin/activate
190190
uv run pytest ${{ matrix.test-file }} -s
191-
192-
193-
run-unit-test:
194-
needs:
195-
- check-labels
196-
if: always() && needs.check-labels.outputs.run-cli-tests == 'true'
197-
runs-on: ubuntu-latest
198-
steps:
199-
- name: Check-out repository
200-
uses: actions/checkout@v4
201-
202-
- name: Install dependencies
203-
run: |
204-
sudo apt-get update &&
205-
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
206-
207-
- name: Create Python virtual environment
208-
working-directory: ${{ github.workspace }}
209-
run: python3 -m venv venv
210-
211-
- name: Clone Bittensor CLI repo
212-
working-directory: ${{ github.workspace }}
213-
run: git clone https://github.com/opentensor/btcli.git
214-
215-
- name: Setup Bittensor SDK from cloned repo
216-
working-directory: ${{ github.workspace }}/btcli
217-
run: |
218-
source ${{ github.workspace }}/venv/bin/activate
219-
git checkout staging
220-
git fetch origin staging
221-
python3 -m pip install --upgrade pip
222-
python3 -m pip install '.[dev]'
223-
224-
- name: Run SDK unit tests
225-
working-directory: ${{ github.workspace }}
226-
run: |
227-
source ${{ github.workspace }}/venv/bin/activate
228-
pytest ${{ github.workspace }}/btcli/tests/unit_tests

.github/workflows/check-sdk-tests.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -187,48 +187,3 @@ jobs:
187187
run: |
188188
source ${{ github.workspace }}/venv/bin/activate
189189
uv run pytest ${{ matrix.test-file }} -s
190-
191-
192-
run-integration-and-unit-test:
193-
needs:
194-
- check-labels
195-
if: always() && needs.check-labels.outputs.run-sdk-tests == 'true'
196-
runs-on: ubuntu-latest
197-
steps:
198-
- name: Check-out repository
199-
uses: actions/checkout@v4
200-
201-
- name: Install dependencies
202-
run: |
203-
sudo apt-get update &&
204-
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
205-
206-
- name: Create Python virtual environment
207-
working-directory: ${{ github.workspace }}
208-
run: python3 -m venv venv
209-
210-
- name: Clone Bittensor SDK repo
211-
working-directory: ${{ github.workspace }}
212-
run: git clone https://github.com/opentensor/bittensor.git
213-
214-
- name: Setup Bittensor SDK from cloned repo
215-
working-directory: ${{ github.workspace }}/bittensor
216-
run: |
217-
source ${{ github.workspace }}/venv/bin/activate
218-
git checkout staging
219-
git fetch origin staging
220-
python3 -m pip install --upgrade pip
221-
python3 -m pip install '.[dev]'
222-
python3 -m pip install -r requirements/torch.txt
223-
224-
- name: Run SDK integration tests
225-
working-directory: ${{ github.workspace }}
226-
run: |
227-
source ${{ github.workspace }}/venv/bin/activate
228-
pytest ${{ github.workspace }}/bittensor/tests/integration_tests
229-
230-
- name: Run bittensor-sdk unit tests
231-
working-directory: ${{ github.workspace }}
232-
run: |
233-
source ${{ github.workspace }}/venv/bin/activate
234-
pytest ${{ github.workspace }}/bittensor/tests/unit_tests

0 commit comments

Comments
 (0)