Skip to content

Commit 29ec08c

Browse files
ryanabxwash2
authored andcommitted
ci: Add a test workflow
This commit adds a simple CI job that runs cargo test, to help with ensuring changes don't regress in tests Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
1 parent 16868ca commit 29ec08c

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Cargo Build & Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
test:
14+
name: cosmic-files - latest
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- run: sudo apt-get update; sudo apt-get install libclang-dev libglib2.0-dev libxkbcommon-dev
19+
- run: rustup update stable && rustup default stable
20+
- run: cargo test --verbose

0 commit comments

Comments
 (0)