Skip to content

Commit

Permalink
chore(ci): Add tests to CI (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mertwole committed Aug 21, 2024
1 parent 4a8c9b4 commit fda14f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,13 @@ jobs:
- name: Run clippy
run: cargo clippy --all-targets -- -D warnings $(cat .lints | cut -f1 -d"#" | tr '\n' ' ')
- name: Run rustfmt
run: cargo fmt -- --check
run: cargo fmt -- --check
tests:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run tests
run: cargo test --release --all-targets
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Ledger-tui is an application for managing crypto assets on a [ledger](https://ww
> [!NOTE]
> This software is not guaranteed to work properly. Any usage can lead to funds loss and `ledger` device corruption.
[![CI](https://github.com/mertwole/ledger-tui/actions/workflows/ci.yml/badge.svg)](https://github.com/mertwole/ledger-tui/actions/workflows/ci.yml)

## Build

### Ubuntu 24.0
Expand Down

0 comments on commit fda14f1

Please sign in to comment.