Skip to content

Commit

Permalink
feat: add CI/CD for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thenishantsapkota committed Oct 28, 2023
1 parent d3a3e44 commit 0398216
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust Tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: actions/setup-rust@v1
with:
rust-version: stable
token: ${{ secrets.GH_TOKEN }}

- name: Checkout Code
uses: actions/checkout@v2

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

- name: Run Tests
run: cargo test

0 comments on commit 0398216

Please sign in to comment.