diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 7c582e4..c22c811 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -34,27 +34,21 @@ jobs: - name: Run tests run: bundle exec rake - # test_solaris: - # runs-on: macos-12 - # name: A job to run test in Solaris - # steps: - # - uses: actions/checkout@v2 - # - name: test Solaris - # id: test - # uses: vmactions/solaris-vm@v0 - # with: - # usesh: true - # prepare: | - # # as far as i know latest possible version ist 2.6.x in Solaris 11.4 - # pkgutil -y -i runtime/ruby-26 - # ruby -v - # gem install bundler - # bundle install - # # - # # maybe use puppet to get new ruby (?) - # # so we would get ruby 2.7.6p219 - # # curl -JLO 'https://pm.puppetlabs.com/puppet-agent/2021.7.1/7.20.0/repos/solaris/11/puppet7/puppet-agent@7.20.0,5.11-1.i386.p5p' - # # pkg install -g file://$(pwd)/puppet-agent\@7.20.0\,5.11-1.i386.p5p pkg:/puppet-agent - - # run: | - # bundle exec rake + test_solaris: + runs-on: ubuntu-latest + name: A job to run test in Solaris + steps: + - uses: actions/checkout@v2 + - name: test Solaris + id: test + uses: vmactions/solaris-vm@v1 + with: + usesh: true + prepare: | + # as far as i know latest possible version ist 2.6.x in Solaris 11.4 + pkgutil -y -i runtime/ruby-26 + ruby -v + gem install bundler + bundle install + run: | + bundle exec rake