Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/clippy.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
name: Clippy

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

env:
CARGO_TERM_COLOR: always

jobs:
clippy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy

- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
working-directory: ./rust
27 changes: 27 additions & 0 deletions .github/workflows/fmt.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
name: Format

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

env:
CARGO_TERM_COLOR: always

jobs:
fmt:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt

- name: Check formatting
run: cargo fmt --all -- --check
working-directory: ./rust
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
name: Test

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Run tests
run: cargo test --verbose
working-directory: ./rust

- name: Run tests with all features
run: cargo test --all-features --verbose
working-directory: ./rust
8 changes: 7 additions & 1 deletion .gitignore
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
*~
__pycache__/*
__pycache__/*
/rust/target/
/venv/
/out/
target/*
coverage/*
.idea/*
54 changes: 0 additions & 54 deletions .gitlab-ci.yml

This file was deleted.

Loading