diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..1d01845 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,17 @@ +name: tests + +on: [push, pull_request] + +jobs: + run-tests: + runs-on: ubuntu-latest + name: Ubuntu, Nim 1.6.12 + steps: + - uses: actions/checkout@v2 + - uses: iffy/install-nim@v3 + with: + version: 1.6.12 + - name: Install Deps + run: nimble install -y + - name: Run tests + run: nimble test -y diff --git a/README.md b/README.md index 4fb749e..06b558c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -swarmsim +swarmsim · ![](https://github.com/codex-storage/swarmsim/actions/workflows/run-tests.yml/badge.svg) ======== -A simulator for experimenting with swarm protocols. There is not much to see yet. :-) \ No newline at end of file +A simulator for experimenting with swarm protocols. There is not much to see yet. :-)