generic_test 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +1 -0
- data/ChangeLog +4 -0
- data/Rakefile +1 -0
- data/exe/generic_test +3 -2
- data/lib/generic_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a32c398102e166f203ca9deac04e804633743251570326ff0c3cf532ebd8320
|
4
|
+
data.tar.gz: 190570281ceb883cf04f41f4039da024e7105ac0db2293a64ed752f367771148
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b60f785051b3c2985a6c44f0f41ae408a3ae18c1a58383ffd372926b7be25b44122e7b9d8c319a40eaaf5d260aba2d50883c8028a39a62453ee0911a7cc19d8f
|
7
|
+
data.tar.gz: ba4ca97e2fa95763544d8b3fa71851535c7cabab48feb384ee3da843ea3cf1d5cac6550a65995644073496ad07520d258977aee1e67387f20427025712f2042a
|
data/.gitlab-ci.yml
CHANGED
@@ -16,6 +16,7 @@ docker_build:
|
|
16
16
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
17
17
|
- docker pull $CI_REGISTRY_IMAGE:latest || true
|
18
18
|
- docker build -t $CI_REGISTRY_IMAGE:latest .
|
19
|
+
- docker run -t $CI_REGISTRY_IMAGE:latest generic_test page samuel-garratt.gitlab.io/generic_test/about.html
|
19
20
|
- docker push $CI_REGISTRY_IMAGE:latest
|
20
21
|
|
21
22
|
test:
|
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
data/exe/generic_test
CHANGED
@@ -11,8 +11,9 @@ class Exe < Thor
|
|
11
11
|
def page(page_url)
|
12
12
|
ENV['PAGE_URL'] = page_url
|
13
13
|
puts File.join(File.dirname(__FILE__))
|
14
|
-
test_file_path = File.join(
|
15
|
-
|
14
|
+
test_file_path = File.join(File.dirname(__FILE__), '..', 'spec', 'generic_test_spec.rb')
|
15
|
+
raise "no file at #{test_file_path}" unless File.exist? test_file_path
|
16
|
+
|
16
17
|
command = "rspec #{test_file_path} --format documentation --require generic_test/setup"
|
17
18
|
puts command
|
18
19
|
#require_relative '../lib/generic_test/setup'
|
data/lib/generic_test/version.rb
CHANGED