Skip to content

Commit

Permalink
Merge pull request #142 from apartresearch/optimize-rust-ci
Browse files Browse the repository at this point in the history
👷 Move static checks first
  • Loading branch information
albertsgarde authored Jan 28, 2024
2 parents a7699a0 + 2524926 commit 2b8be60
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "rust-dependencies"
- name: Build
run: cargo build --verbose
- name: Clippy
run: cargo clippy --no-deps
- name: Format check
run: cargo fmt --check
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
12 changes: 12 additions & 0 deletions deepdecipher.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# class Database:
# @staticmethod
# def initialize(path: str) -> None: ...
#
# @staticmethod
# def open(path: str) -> None: ...
#
# def add_model(self, model_metadata: ModelMetadata) -> None: ...

class DataType:
@staticmethod
def json() -> DataType: ...
Empty file added python/deepdecipher/py.typed
Empty file.

0 comments on commit 2b8be60

Please sign in to comment.