💚 update ci
This commit is contained in:
parent
780ed68c7e
commit
764e820ca5
3 changed files with 12 additions and 10 deletions
15
.github/workflows/python.yaml
vendored
15
.github/workflows/python.yaml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: []
|
||||
pull_request:
|
||||
|
||||
defaults:
|
||||
|
|
@ -8,7 +8,6 @@ defaults:
|
|||
working-directory: ./server
|
||||
|
||||
jobs:
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.name }}
|
||||
|
|
@ -16,12 +15,12 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- name: ruff
|
||||
command: ruff check --output-format=github .
|
||||
deps: --only lint-ruff
|
||||
- name: mypy
|
||||
command: mypy
|
||||
deps: --with lint-typing
|
||||
- name: ruff
|
||||
command: ruff check --output-format=github .
|
||||
deps: --only lint-ruff
|
||||
- name: mypy
|
||||
command: mypy
|
||||
deps: --with lint-typing
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Python
|
||||
|
|
|
|||
3
.github/workflows/rust.yaml
vendored
3
.github/workflows/rust.yaml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: []
|
||||
pull_request:
|
||||
|
||||
name: Rust Continuous integration
|
||||
|
|
@ -10,7 +10,6 @@ defaults:
|
|||
working-directory: ./server
|
||||
|
||||
jobs:
|
||||
|
||||
# test:
|
||||
# name: test
|
||||
# runs-on: ${{ matrix.os }}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@ const { rimrafSync } = require("rimraf");
|
|||
}
|
||||
|
||||
// Copy over native / wasm modules //
|
||||
if (!ghAction()) {
|
||||
return;
|
||||
}
|
||||
|
||||
process.chdir("../extensions/vscode");
|
||||
|
||||
// onnxruntime-node
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue