File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 run : bundle exec rspec
2626 env :
2727 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
28+ lint :
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v1
32+ - name : Set up Python
33+ uses : actions/setup-python@v1
34+ with :
35+ python-version : 3.8
36+ - name : Install and configure poetry
37+ run : |
38+ python -m pip install poetry
39+ python -m poetry config virtualenvs.create false
40+ - name : Install python packages
41+ run : python -m poetry install
42+ - name : Run python linters
43+ run : |
44+ python -m poetry run black --check run-ci.py
45+ python -m poetry run mypy run-ci.py
46+ python -m poetry run flake8 run-ci.py
Original file line number Diff line number Diff line change 1+ name : Deploy
2+ on :
3+ push :
4+ tags :
5+ - ' v*'
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v1
12+ - name : Set up Python
13+ uses : actions/setup-python@v1
14+ with :
15+ python-version : 3.8
16+ - name : Set up Ruby
17+ uses : actions/setup-ruby@v1
18+ with :
19+ ruby-version : 2.7
20+ - name : Install and configure poetry
21+ run : python -m pip install poetry
22+ - name : Install python packages
23+ run : python -m poetry install --no-dev
24+ - name : Configure rubygems permissions
25+ run : mkdir -p "${HOME}/.gem" && echo ':rubygems_api_key:'" \"${RUBYGEMS_API_KEY}\"" > "${HOME}/.gem/credentials" && chmod 0600 "${HOME}/.gem/credentials"
26+ env :
27+ RUBYGEMS_API_KEY : ${{ secrets.RUBYGEMS_API_KEY }}
28+ - name : Deploy
29+ run : python -m poetry run python run-ci.py deploy --version "$(git describe --tags)"
Original file line number Diff line number Diff line change 11/.bundle /
22/.yardoc
33/_yardoc /
4+ /bin /
45/coverage /
56/doc /
67/pkg /
78/spec /reports /
89/tmp /
10+ /vendor /
11+ .bundle /
12+ * .bundle
13+ * .gem
14+ .mypy_cache
915
1016# rspec failure tracking
1117.rspec_status
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- tanker-identity (0.1.0 )
4+ tanker-identity (0.0.1 )
55 rbnacl (~> 7.0 )
66
77GEM
1414 simplecov (>= 0.15 , < 0.22 )
1515 diff-lcs (1.4.4 )
1616 docile (1.4.0 )
17- ffi (1.15.1 )
17+ ffi (1.15.3 )
18+ io-console (0.5.9 )
19+ irb (1.3.5 )
20+ reline (>= 0.1.5 )
1821 rake (13.0.3 )
1922 rbnacl (7.1.1 )
2023 ffi
24+ reline (0.2.5 )
25+ io-console (~> 0.5 )
2126 rspec (3.10.0 )
2227 rspec-core (~> 3.10.0 )
2328 rspec-expectations (~> 3.10.0 )
3136 diff-lcs (>= 1.2.0 , < 2.0 )
3237 rspec-support (~> 3.10.0 )
3338 rspec-support (3.10.2 )
39+ rubygems-tasks (0.2.5 )
40+ irb (~> 1.0 )
3441 simplecov (0.21.2 )
3542 docile (~> 1.1 )
3643 simplecov-html (~> 0.11 )
@@ -48,6 +55,7 @@ DEPENDENCIES
4855 codecov
4956 rake (~> 13.0 )
5057 rspec (~> 3.0 )
58+ rubygems-tasks (~> 0.2.5 )
5159 simplecov
5260 tanker-identity !
5361
Original file line number Diff line number Diff line change 1- require "bundler/gem_tasks"
21require 'bundler/audit/task'
3- require "rspec/core/rake_task"
2+ require 'bundler/gem_tasks'
3+ require 'rspec/core/rake_task'
4+ require 'rubygems/tasks'
45
56Bundler ::Audit ::Task . new
6-
7+ Gem :: Tasks . new
78RSpec ::Core ::RakeTask . new ( :spec )
89
910task :default => :spec
Original file line number Diff line number Diff line change 11module Tanker
22 module Identity
3- VERSION = '0.1.0 '
3+ VERSION = '0.0.1 '
44 end
55
66 def self . const_missing ( name )
You can’t perform that action at this time.
0 commit comments