💚 update ci

This commit is contained in:
Nate Sesti 2024-01-17 16:30:44 -08:00
parent 780ed68c7e
commit 764e820ca5
3 changed files with 12 additions and 10 deletions

View file

@ -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

View file

@ -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 }}

View file

@ -78,6 +78,10 @@ const { rimrafSync } = require("rimraf");
}
// Copy over native / wasm modules //
if (!ghAction()) {
return;
}
process.chdir("../extensions/vscode");
// onnxruntime-node