aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-11-06 20:26:44 +0100
committerHampusM <hampus@hampusmat.com>2022-11-06 20:26:44 +0100
commit0e1308d8ccf3565559084de19a9130975ca8ce78 (patch)
treeac3e26e6bf117ad7bffec35a72028ee207fdf6e7
parent99cbe28a8e01d33d0520858d957c400c825e8c0b (diff)
ci: fix jobs
-rw-r--r--.circleci/config.yml25
1 files changed, 2 insertions, 23 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 3a5adda..b3b41cc 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -27,14 +27,8 @@ jobs:
- checkout
- run: cargo --version
- run:
- name: Install Rust stable
- command: rustup install stable
- - run:
- name: Setting Rust stable as default
- command: rustup default stable
- - run:
- name: Run tests with all features enabled
- command: cargo test --workspace --all-features
+ name: Run tests with all features except factory enabled
+ command: cargo test --workspace --features async
- run:
name: Run tests with only default features enabled
command: cargo test --workspace
@@ -66,12 +60,6 @@ jobs:
- checkout
- run: cargo --version
- run:
- name: Install Rust nightly
- command: rustup install nightly
- - run:
- name: Setting Rust nightly as default
- command: rustup default nightly
- - run:
name: Run Clippy
command: cargo clippy
@@ -82,15 +70,6 @@ jobs:
- checkout
- run: cargo --version
- run:
- name: Install Rust nightly
- command: rustup install nightly
- - run:
- name: Setting Rust nightly as default
- command: rustup default nightly
- - run:
- name: Install Rustfmt
- command: rustup component add rustfmt --toolchain nightly
- - run:
name: Run Rustfmt
command: find src macros/src -type f -name "*.rs" -exec rustfmt --edition 2021 --check {} \;