Project setup
This commit is contained in:
parent
29bb6828ee
commit
bd29797aba
|
@ -0,0 +1,5 @@
|
|||
[*]
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = true
|
|
@ -0,0 +1,15 @@
|
|||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: iffy/install-nim@v3
|
||||
- name: Test
|
||||
run: nimble test -y
|
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
!*/
|
||||
!*.*
|
|
@ -0,0 +1 @@
|
|||
nim 1.4.2
|
|
@ -0,0 +1,4 @@
|
|||
version = "0.1.0"
|
||||
author = "Dagger Team"
|
||||
description = "Dagger Storage Network"
|
||||
license = "MIT"
|
|
@ -0,0 +1,6 @@
|
|||
import unittest
|
||||
|
||||
suite "example":
|
||||
|
||||
test "unit testing works":
|
||||
check 2 == 2
|
Loading…
Reference in New Issue