Skip to content

Commit

Permalink
update: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincentqyw committed Dec 22, 2024
1 parent 409ba3f commit d8aaeef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: CI CPU

runs-on: self-hosted

on:
push:
branches:
Expand All @@ -12,7 +10,8 @@ on:

jobs:
build:
runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- name: Checkout code
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

name: Format

runs-on: self-hosted

on:
workflow_dispatch:
pull_request:
Expand All @@ -15,7 +13,8 @@ on:
jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Pip
runs-on: self-hosted
on:
workflow_dispatch:
pull_request:
Expand All @@ -15,8 +14,8 @@ jobs:
platform: [macos-13, ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

runs-on: ${{ matrix.platform }}

# runs-on: ${{ matrix.platform }}
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -55,4 +54,4 @@ jobs:
run: pip install .

- name: Test
run: python -m pytest
run: python -m pytest

0 comments on commit d8aaeef

Please sign in to comment.