Skip to content

Commit

Permalink
disable ci for test benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiWang1999 committed Jul 23, 2024
1 parent 476ffee commit 9bd34ff
Showing 1 changed file with 55 additions and 55 deletions.
110 changes: 55 additions & 55 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
name: CI
# name: CI

on: [pull_request]
# on: [pull_request]

jobs:
format-check:
runs-on: self-hosted
# jobs:
# format-check:
# runs-on: self-hosted

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# with:
# fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.9'

- name: Create virtual environment
run: python -m venv bitblas_ci
# - name: Create virtual environment
# run: python -m venv bitblas_ci

- name: Activate virtual environment and install dependencies
run: |
source bitblas_ci/bin/activate
python -m pip install --upgrade pip
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
# - name: Activate virtual environment and install dependencies
# run: |
# source bitblas_ci/bin/activate
# python -m pip install --upgrade pip
# if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi

- name: Update submodules recursively
run: git submodule update --init --recursive
# - name: Update submodules recursively
# run: git submodule update --init --recursive

- name: Run format check
run: |
source bitblas_ci/bin/activate
./format.sh
# - name: Run format check
# run: |
# source bitblas_ci/bin/activate
# ./format.sh

build-test:
runs-on: self-hosted
needs: format-check
# build-test:
# runs-on: self-hosted
# needs: format-check

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# with:
# fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.9'

- name: Create virtual environment
run: python -m venv bitblas_ci
# - name: Create virtual environment
# run: python -m venv bitblas_ci

- name: Activate virtual environment and install dependencies
run: |
source bitblas_ci/bin/activate
python -m pip install --upgrade pip
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
# - name: Activate virtual environment and install dependencies
# run: |
# source bitblas_ci/bin/activate
# python -m pip install --upgrade pip
# if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi

- name: Install project in wheel mode
run: |
source bitblas_ci/bin/activate
python -m pip install .
# - name: Install project in wheel mode
# run: |
# source bitblas_ci/bin/activate
# python -m pip install .

- name: Run tests
run: |
source bitblas_ci/bin/activate
cd testing/python
python -m pytest
# - name: Run tests
# run: |
# source bitblas_ci/bin/activate
# cd testing/python
# python -m pytest

0 comments on commit 9bd34ff

Please sign in to comment.