Skip to content

Commit

Permalink
disable OpenBSD testing, nested virtualization messes with timing too…
Browse files Browse the repository at this point in the history
… much
  • Loading branch information
DrHyde committed Oct 4, 2021
1 parent 407e597 commit c4117d9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 20 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/install-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,25 @@ jobs:
- name: Install on Linux
run: |
cpanm *.tar.gz
install-openbsd:
runs-on: macos-10.15
needs: build
steps:
- uses: actions/download-artifact@v2
with:
name: dist-for-installation-test
- name: Install on OpenBSD
uses: cross-platform-actions/action@v0.2.0
with:
operating_system: openbsd
version: 6.9
shell: bash
run: |
mkdir dist-for-test &&
tar -C dist-for-test -xzf *.tar.gz &&
cd dist-for-test/* &&
cpan App::cpanminus &&
/home/runner/perl5/bin/cpanm --quiet --notest --installdeps . &&
/home/runner/perl5/bin/cpanm -v .
# no OpenBSD tests, nested virtualisation messes with timing too much
# install-openbsd:
# runs-on: macos-10.15
# needs: build
# steps:
# - uses: actions/download-artifact@v2
# with:
# name: dist-for-installation-test
# - name: Install on OpenBSD
# uses: cross-platform-actions/action@v0.2.0
# with:
# operating_system: openbsd
# version: 6.9
# shell: bash
# run: |
# mkdir dist-for-test &&
# tar -C dist-for-test -xzf *.tar.gz &&
# cd dist-for-test/* &&
# cpan App::cpanminus &&
# /home/runner/perl5/bin/cpanm --quiet --notest --installdeps . &&
# /home/runner/perl5/bin/cpanm -v .

2 changes: 2 additions & 0 deletions t/all.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ END { print "not ok 1\n" unless $loaded; }

use Tie::Scalar::Decay;

# if these tests are ever re-written to use Test::More etc and
# mock time reliably, reinstate OpenBSD testing
$loaded=1;
print "ok 1\n";

Expand Down

0 comments on commit c4117d9

Please sign in to comment.