Skip to content

Commit

Permalink
Preinstall IO::Pty for Mac OS X tests
Browse files Browse the repository at this point in the history
Help the nondeterministic dependency installation order to avoid pulling
in a broken version as a transitive dependency (for example via Expect).
  • Loading branch information
ferki committed Dec 9, 2023
1 parent 29a515d commit 0f87255
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ jobs:
with:
perl-version: ${{ matrix.perl }}
distribution: ${{ matrix.os == 'windows' && 'strawberry' || 'default' }}
- name: Preinstall IO::Pty for Mac OS X tests
run: cpanm IO::Pty~'!=1.18'
if: matrix.os == 'macos'
- name: Install dependencies
uses: ferki/os-specific-run@ferki
with:
Expand Down

0 comments on commit 0f87255

Please sign in to comment.