A local-first private AI assistant for everyday use. Runs on-device models with encrypted P2P sync, and supports sharing chats publicly on ATProto.
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: Added basic code coverage in CI

fix: codecov target + main branch condition

fix: removed main branch check for coverage

madclaws c9a2dd7b 7dcfa4e2

+58 -24
+5
.codecov.yml
··· 1 + coverage: 2 + status: 3 + project: 4 + default: 5 + target: 20%
+50 -24
.github/workflows/rust.yml
··· 2 2 3 3 on: 4 4 push: 5 - branches: [ "main" ] 5 + branches: ["main"] 6 6 pull_request: 7 - branches: [ "main" ] 7 + branches: ["main"] 8 8 9 9 env: 10 10 CARGO_TERM_COLOR: always 11 11 12 12 jobs: 13 - build: 13 + check: 14 + runs-on: ubuntu-latest 15 + steps: 16 + - uses: actions/checkout@v4 17 + 18 + - uses: dtolnay/rust-toolchain@master 19 + with: 20 + toolchain: 1.90.0 21 + components: rustfmt, clippy 22 + 23 + - uses: actions/cache@v4 24 + with: 25 + path: | 26 + ~/.cargo/bin 27 + ~/.cargo/registry 28 + ~/.cargo/git 29 + target 30 + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 14 31 15 - runs-on: ubuntu-latest 32 + - name: Install just 33 + run: command -v just || cargo install just 16 34 35 + - name: Run checks 36 + run: just check 37 + coverage: 38 + runs-on: ubuntu-latest 39 + needs: check # optional but recommended 17 40 steps: 18 - - uses: actions/checkout@v4 19 - - uses: dtolnay/rust-toolchain@master 20 - with: 21 - toolchain: 1.90.0 22 - components: rustfmt, clippy 23 - - name: Cache cargo 24 - uses: actions/cache@v4 25 - with: 26 - path: | 27 - ~/.cargo/bin 28 - ~/.cargo/registry 29 - ~/.cargo/git 30 - target 31 - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 32 - restore-keys: | 33 - ${{ runner.os }}-cargo- 41 + - uses: actions/checkout@v4 42 + 43 + - uses: dtolnay/rust-toolchain@master 44 + with: 45 + toolchain: 1.90.0 46 + 47 + - uses: actions/cache@v4 48 + with: 49 + path: | 50 + ~/.cargo/bin 51 + ~/.cargo/registry 52 + ~/.cargo/git 53 + target 54 + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 55 + 56 + - name: Install tarpaulin 57 + run: cargo install cargo-tarpaulin 34 58 35 - - name: Install just 36 - run: command -v just || cargo install just 59 + - name: Run coverage 60 + run: cargo tarpaulin --out Xml -- --test-threads 1 37 61 38 - - name: Run check 39 - run: just check 62 + - name: Upload to Codecov 63 + uses: codecov/codecov-action@v4 64 + with: 65 + token: ${{ secrets.CODECOV_TOKEN }}
+3
.gitignore
··· 2 2 .tiles_dev 3 3 dist/ 4 4 stack_export_prod/ 5 + *.profraw 6 + tilekit/target 7 + tiles/target