Skip to content

Commit 2501ce4

Browse files
committed
Add test workflow
Signed-off-by: Sayan Nandan <[email protected]>
1 parent 53ed120 commit 2501ce4

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Test
2+
3+
on: [push, pull_request, release]
4+
5+
env:
6+
CARGO_TERM_COLOR: always
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Build
15+
run: cargo build
16+
- name: Run tests
17+
run: cargo test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `derived`: Macros for the boring stuff
22

3-
[![Crates.io](https://img.shields.io/crates/v/derived?style=flat-square)](https://crates.io/crates/derived) [![docs.rs](https://img.shields.io/docsrs/derived?style=flat-square)](https://docs.rs/derived) [![GitHub](https://img.shields.io/github/license/ohsayan/derived?style=flat-square)](./LICENSE)
3+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ohsayan/derived/Test?style=flat-square) [![Crates.io](https://img.shields.io/crates/v/derived?style=flat-square)](https://crates.io/crates/derived) [![docs.rs](https://img.shields.io/docsrs/derived?style=flat-square)](https://docs.rs/derived) [![GitHub](https://img.shields.io/github/license/ohsayan/derived?style=flat-square)](./LICENSE)
44

55
The `derived` crate provides macros that can simplify all the boring stuff, like writing constructors for example.
66

0 commit comments

Comments
 (0)