Re-enable other CI jobs
This commit is contained in:
parent
88c4fa428a
commit
e99d8b3513
1 changed files with 38 additions and 38 deletions
|
@ -4,31 +4,31 @@ on: [push]
|
|||
name: CI
|
||||
|
||||
jobs:
|
||||
# formatting:
|
||||
# name: Formatting
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
# with:
|
||||
# components: rustfmt
|
||||
# - name: Check Rust formatting
|
||||
# run: cargo fmt --all -- --check
|
||||
formatting:
|
||||
name: Formatting
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
- name: Check Rust formatting
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
# clippy:
|
||||
# name: Clippy
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
# with:
|
||||
# components: clippy
|
||||
# - name: Run Clippy
|
||||
# run: cargo clippy -- -D warnings
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
- name: Run Clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
@ -78,17 +78,17 @@ jobs:
|
|||
- name: Run Python tests
|
||||
run: pytest tests/*.py
|
||||
|
||||
# rust-test:
|
||||
# name: Rust tests
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - name: Checkout the code
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
# - name: Set up the Python toolchain
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: "3.13"
|
||||
# - name: Run Rust tests
|
||||
# run: cargo test
|
||||
rust-test:
|
||||
name: Rust tests
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- name: Set up the Python toolchain
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
- name: Run Rust tests
|
||||
run: cargo test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue