Run smoke test for nightly

This commit is contained in:
Michael Miller 2022-05-25 17:20:57 -06:00
parent 712edf20c1
commit 69a89daeb8
No known key found for this signature in database
GPG Key ID: 32B47AE8F388A1FF
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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!"

View File

@ -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 }

View File

@ -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|

View File

@ -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