Build & Test Project Across 16+ Test Cases 🚀 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
run-name: Build & Test Project Across 16+ Test Cases 🚀 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions/setup-rust@v1 | |
with: | |
rust-version: stable | |
- name: Build project | |
run: cargo build --verbose | |
- name: Change directory to tests | |
run: cd tests | |
- name: Run tests | |
run: cargo run |