vmath/.github/workflows/build.yml
guzba 92728c3771
Updated github action, tests work via print testing in a good way (#14)
* remove echo

* nimble build and nimble test working

* rename test output file

* just test

* rename

* compare to valid to ensure tests pass

* improved msg

* fix action

* test

* use git diff instead of masters
2020-05-06 16:58:21 -07:00

26 lines
514 B
YAML

name: Run tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cache choosenim
id: cache-choosenim
uses: actions/cache@v1
with:
path: ~/.choosenim
key: ${{ runner.os }}-choosenim-stable
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v1
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-stable
- uses: jiro4989/setup-nim-action@v1.0.2
- run: nimble test -y