Skip to content

Update parsetoml.nimble #165

Update parsetoml.nimble

Update parsetoml.nimble #165

Workflow file for this run

name: RunTests
on:
pull_request:
types:
- '*'
push:
schedule:
# Every week: https://crontab.guru/#0_0_*_*_0
- cron: '0 0 * * 0'
jobs:
run_tests:
# runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-latest]
# Fails on macos with this error
# go: writing stat cache: mkdir /home/runner: operation not supported
# go: writing stat cache: mkdir /home/runner: operation not supported
# go: downloading github.com/BurntSushi/toml-test v0.1.1-0.20210628215546-8c0aa6d9c74f
# go get github.com/BurntSushi/toml-test/cmd/toml-test@master: mkdir /home/runner: operation not supported
# stack trace: (most recent call last)
# /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/nimblecache-946033505/nimscriptapi_610282258.nim(187, 16)
# /Users/runner/work/parsetoml/parsetoml/parsetoml.nimble(36, 7) run_toml_test_with_skipsTask
# /Users/runner/work/parsetoml/parsetoml/nim/lib/system/nimscript.nim(273, 7) exec
# /Users/runner/work/parsetoml/parsetoml/nim/lib/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: go get -u -v github.com/BurntSushi/toml-test/cmd/toml-test@master [OSError]
os: [ubuntu-latest, windows-latest]
nim: ['devel', 'version-1-4']
steps:
- uses: actions/checkout@v2
- uses: alaviss/setup-nim@0.1.1
with:
path: 'nim'
version: ${{ matrix.nim }}
# Test nimble install.
- name: Test Nimble Install
run: nimble install --depsOnly --accept
- name: Pull kaushalmodi's global config.nims # For 'nim test'
run: nim pullConfig
- name: Run Nim tests
run: |
nim --version
nim test
- uses: actions/setup-go@v2
with:
go-version: '1.16.5'
- name: Run Go tests
run: |
go version
# https://github.com/NimParsers/parsetoml/issues/40
# nimble run_toml_test
nimble run_toml_test_with_skips