Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MahadMuhammad committed Jul 14, 2024
1 parent 65ad202 commit c30a17f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Rust Test to DejaGnu -- Build & Test

on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full

jobs:
build_and_test:
name: Rust Test to DejaGnu [UBUNTU_LATEST] - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
# Only test on rust stable version
- stable

steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Cargp Build
run: cargo build --verbose

- name: Cargo Test
run: cargo test --verbose

- name: Cargo fmt
run: cargo fmt --all --check

- name: Run cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings

0 comments on commit c30a17f

Please sign in to comment.