cosmic-files/.github/workflows/ci.yml
Ryan Brue 29ec08cd36 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>
2025-08-20 17:13:43 -04:00

20 lines
No EOL
426 B
YAML

name: Cargo Build & Test
on:
push:
branches:
- master
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: cosmic-files - latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update; sudo apt-get install libclang-dev libglib2.0-dev libxkbcommon-dev
- run: rustup update stable && rustup default stable
- run: cargo test --verbose