~singpolyma/dhall-ruby

6acdd5fe3dc01d98969649c415e8c9967f1afd16 — Stephen Paul Weber 4 years ago 6ca643c
largeExpression works now, but is slow

So only run in CI
3 files changed, 4 insertions(+), 1 deletions(-)

M .builds.dhall/debian-stable.dhall
M .builds/debian-stable.yml
M test/test_parser.rb
M .builds.dhall/debian-stable.dhall => .builds.dhall/debian-stable.dhall +1 -0
@@ 10,6 10,7 @@
		backports = "http://ftp.ca.debian.org/debian/ stretch-backports main"
	},
	sources = ["https://git.singpolyma.net/dhall-ruby"],
	environment = { CI = 1 },
	tasks = [
		{ build =
			''

M .builds/debian-stable.yml => .builds/debian-stable.yml +2 -0
@@ 1,4 1,6 @@
image: debian/stable
environment:
  CI: 1
sources:
- https://git.singpolyma.net/dhall-ruby
tasks:

M test/test_parser.rb => test/test_parser.rb +1 -1
@@ 14,7 14,7 @@ class TestParser < Minitest::Test
		test = path.relative_path_from(TESTS).to_s.sub(/A\.dhall$/, "")
		define_method("test_#{test}") do
			skip "deprecated syntax" if test =~ /collectionImportType|annotations/
			skip "deprecated syntax" if test =~ /largeExpression/
			skip "very slow" if !ENV.key?("CI") && test =~ /largeExpression/
			match = Dhall::Parser.parse_file(path)
			assert(match)
			assert_kind_of(Dhall::Expression, match.value)