Skip to content

Commit

Permalink
Github actions debug
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdana committed Dec 4, 2023
1 parent b2e7580 commit e442f32
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .spellr_wordlists/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ snginx
speckly
spotify
sqlite
stephenway
stylelint
stylelintrc
submodule
Expand Down
6 changes: 6 additions & 0 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

# we assume this is checked out to ~/.dotfiles
ln -s $PWD ~/.dotfiles
echo 'ci.sh env:'
env
~/.dotfiles/scripts/install.sh
echo 'ci.sh after install.sh env:'
env
. ~/.bash_profile
echo 'ci.sh after source bash_profile env:'
env
git config --global commit.gpgsign false
ruby -v
echo 'what ruby thinks env is:'
ruby -e 'puts `env`'
bundle exec rspec
5 changes: 3 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash

set -e
export PATH="~/.dotfiles/bin:$PATH"

export PATH="$HOME/.dotfiles/bin:$PATH"

echodo ln -sf ~/.dotfiles/bash_profile ~/.bash_profile
echodo ln -sf ~/.dotfiles/bashrc ~/.bashrc
Expand Down Expand Up @@ -30,7 +31,7 @@ if [[ -z "$CI" ]]; then
brew install mas
fi

~/.dotfiles/scripts/update.sh
. ~/.dotfiles/scripts/update.sh

open monokai.terminal/Monokai.terminal
defaults write com.apple.Terminal Shell -string /bin/bash
Expand Down
3 changes: 2 additions & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fi

git_update_submodules
( cd github-cctray && git remote add upstream [email protected]:joejag/github-cctray.git )
( cd monokai.terminal && git remote add upstream [email protected]:stephenway/monokai.terminal.git )

if [[ -z "$CI" ]]; then
ruby-install 3.0
Expand All @@ -34,4 +35,4 @@ if [[ -z "$CI" ]]; then
ruby-install 3.3.0-preview3
fi

install_launchagents.sh
. ~/.dotfiles/scripts/install_launchagents.sh
1 change: 1 addition & 0 deletions spec/git_rubocop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

RSpec.describe 'git rubocop hooks' do
before do
puts 'what ruby run thinks env is:'
puts run('env').output
puts run('ruby -v').output
copy_file('.ruby-version')
Expand Down

0 comments on commit e442f32

Please sign in to comment.