Skip to content

Add cdutz, kanchana as directors #259

Add cdutz, kanchana as directors

Add cdutz, kanchana as directors #259

Workflow file for this run

name: Unit test library methods
on:
push:
paths:
- '**/unittestlib.yml'
- 'lib/**'
workflow_dispatch:
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [macos-13, ubuntu-20.04, ubuntu-22.04]
ruby: [2.7, 3.1]
# 2.7 not supported on 22.04
exclude:
- os: ubuntu-22.04
ruby: 2.7
# LDAP does not work on 24.04 (needs patch)
# include:
# - os: ubuntu-24.04
# ruby: 3.2
runs-on: ${{ matrix.os }}
steps:
- name: setup non-macOS # needed for installing ruby-ldap
if: ${{ runner.os != 'macOS' }}
run: |
sudo apt-get update
sudo apt-get install libldap2-dev
sudo apt-get install libsasl2-dev
sudo apt-get install libyaml-dev # seems to be needed for installing ruby since psych 5.0.0 release
- name: setup macos
if: ${{ runner.os == 'macOS' }}
run: |
brew install subversion
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: test library code
run: |
cd lib
bundle install
bundle exec rake