mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: add toml module + tests (#11964)
This commit is contained in:
27
.github/workflows/toml_ci.yml
vendored
Normal file
27
.github/workflows/toml_ci.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: toml CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
toml-module-pass-external-test-suites:
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build V
|
||||
run: make -j2 && ./v -cc gcc -o v cmd/v
|
||||
|
||||
- name: Clone BurntSushi/toml-test
|
||||
run: |
|
||||
cd vlib/toml/tests/testdata
|
||||
git clone --depth 1 https://github.com/BurntSushi/toml-test.git burntsushi/toml-test
|
||||
|
||||
- name: Run tests
|
||||
run: ./v -stats test vlib/toml
|
||||
Reference in New Issue
Block a user