aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-07-19 16:31:21 +0300
committerValentin Popov <valentin@popov.link>2024-07-19 16:31:21 +0300
commit4ef6756f59fe5cb30853683665187b763cd4826a (patch)
treed56a6f2d2250145e1f7905cfad9322280f65c1f4 /.github/workflows/ci.yml
parent7fb0f81a89979044edfb5633df2d09c164c8e2a8 (diff)
downloadwecli-4ef6756f59fe5cb30853683665187b763cd4826a.tar.xz
wecli-4ef6756f59fe5cb30853683665187b763cd4826a.zip
Added CI for GitHub and Gitea
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..2f6a72d
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,12 @@
+name: test suite
+on: [push, pull_request]
+
+jobs:
+ test:
+ name: cargo test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@stable
+ - run: cargo check --all
+ - run: cargo test --all-features \ No newline at end of file