From 69a89daeb8ae5588528cc6cb6363beeab993ab2b Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 25 May 2022 17:20:57 -0600 Subject: [PATCH] Run smoke test for nightly --- .gitlab-ci.yml | 2 +- spec/features/aggregate_failures_spec.cr | 2 +- spec/features/concise_spec.cr | 2 +- spec/features/custom_message_spec.cr | 2 +- spec/features/line_number_spec.cr | 2 +- spec/features/metadata_spec.cr | 2 +- spec/features/subject_spec.cr | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9d3e3f..320184d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,7 +66,7 @@ nightly: allow_failure: true script: - shards --ignore-crystal-version - - crystal spec --error-on-warnings --junit_output=. + - crystal spec --error-on-warnings --junit_output=. --tag smoke spec/spectator/dsl/ - crystal tool format --check artifacts: when: always diff --git a/spec/features/aggregate_failures_spec.cr b/spec/features/aggregate_failures_spec.cr index 0c4506c..8779dd2 100644 --- a/spec/features/aggregate_failures_spec.cr +++ b/spec/features/aggregate_failures_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do describe "aggregate_failures" do it "captures multiple failed expectations" do expect do diff --git a/spec/features/concise_spec.cr b/spec/features/concise_spec.cr index c472a6e..64360a3 100644 --- a/spec/features/concise_spec.cr +++ b/spec/features/concise_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do context "consice syntax" do describe "provided group with a single assignment" do provided x = 42 do diff --git a/spec/features/custom_message_spec.cr b/spec/features/custom_message_spec.cr index a0dc973..da7e06c 100644 --- a/spec/features/custom_message_spec.cr +++ b/spec/features/custom_message_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do it "supports custom expectation messages" do expect do expect(false).to be_true, "paradox!" diff --git a/spec/features/line_number_spec.cr b/spec/features/line_number_spec.cr index ba273cf..c847985 100644 --- a/spec/features/line_number_spec.cr +++ b/spec/features/line_number_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe Spectator do +Spectator.describe Spectator, :smoke do let(current_example) { ::Spectator::Example.current } subject(location) { current_example.location } diff --git a/spec/features/metadata_spec.cr b/spec/features/metadata_spec.cr index 08f7756..33f3f50 100644 --- a/spec/features/metadata_spec.cr +++ b/spec/features/metadata_spec.cr @@ -1,6 +1,6 @@ require "../spec_helper" -Spectator.describe "Spec metadata" do +Spectator.describe "Spec metadata", :smoke do let(interpolation) { "string interpolation" } it "supports #{interpolation}" do |example| diff --git a/spec/features/subject_spec.cr b/spec/features/subject_spec.cr index 42436ea..a4380b2 100644 --- a/spec/features/subject_spec.cr +++ b/spec/features/subject_spec.cr @@ -4,7 +4,7 @@ class Base; end module SomeModule; end -Spectator.describe "Subject" do +Spectator.describe "Subject", :smoke do subject { Base.new } context "nested" do