Skip to content

Commit

Permalink
Enable tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Jan 11, 2024
1 parent e5f0876 commit 44979cd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: rake
strategy:
matrix:
os: [ubuntu-20.04]
os: [ubuntu-20.04, windows_latest]
ruby: ['2.7', '3.0']
runs-on: ${{ matrix.os }}
steps:
Expand Down
1 change: 0 additions & 1 deletion test/test_pdd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def test_rules_failure
end

def test_git_repo
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
opts = opts(['-q', '-s', dir])
raise unless system("
Expand Down
4 changes: 0 additions & 4 deletions test/test_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ def test_failing_on_puzzle_with_space_after_dash
end

def test_reads_git_author
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
raise unless system("
set -e
Expand Down Expand Up @@ -302,7 +301,6 @@ def test_reads_git_author
end

def test_skips_invalid_git_mail
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
raise unless system("
set -e
Expand Down Expand Up @@ -331,7 +329,6 @@ def test_skips_invalid_git_mail
end

def test_uses_github_login
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
raise unless system("
cd '#{dir}'
Expand All @@ -353,7 +350,6 @@ def test_uses_github_login
end

def test_skips_uncommitted_changes
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
raise unless system("
cd '#{dir}'
Expand Down

0 comments on commit 44979cd

Please sign in to comment.