summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-02-27 23:35:27 +0100
committerpml68 <contact@pml68.dev>2025-02-27 23:35:27 +0100
commite89974f54f4435543b204dff675c53221418ad76 (patch)
treec2aab3bebc2ff65c40337e0f3514d8081fc7397e /.github/workflows/ci.yml
parentfeat: update `iced` (diff)
downloadiced-builder-e89974f54f4435543b204dff675c53221418ad76.tar.gz
ci: add step for running tests
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..eba27cf
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,19 @@
+name: CI
+on: [push, pull_request]
+jobs:
+ ci:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: hecrj/setup-rust-action@v2
+ with:
+ components: clippy
+ - uses: actions/checkout@master
+ - name: Install dependencies
+ run: |
+ export DEBIAN_FRONTED=noninteractive
+ sudo apt-get -qq update
+ sudo apt-get install -y libxkbcommon-dev libgtk-3-dev
+ - name: Check lints
+ run: cargo lint
+ - name: Run tests
+ run: cargo test --verbose