mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
..
This commit is contained in:
35
.github/workflows/rust.yml
vendored
35
.github/workflows/rust.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
command: test
|
command: test
|
||||||
args: --all --release -- --ignored
|
args: --all --release -- --ignored
|
||||||
|
|
||||||
check_fmt_clippy:
|
check_fmt:
|
||||||
name: Checking fmt and docs
|
name: Checking fmt and docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -60,11 +60,8 @@ jobs:
|
|||||||
- name: fmt
|
- name: fmt
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
- name: clippy
|
clippy_check:
|
||||||
run: cargo clippy --all
|
name: Clippy check
|
||||||
|
|
||||||
python_tests:
|
|
||||||
name: Python Tests 3
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -75,3 +72,29 @@ jobs:
|
|||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
|
components: clippy
|
||||||
|
|
||||||
|
- name: clippy
|
||||||
|
run: cargo clippy --all
|
||||||
|
|
||||||
|
python_tests:
|
||||||
|
name: Python Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: nightly
|
||||||
|
override: true
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v1
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
architecture: 'x64'
|
||||||
|
|
||||||
|
- name: Tests
|
||||||
|
shell: bash
|
||||||
|
run: ci_scripts/run-python.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user