mozilla/ssh_scan

View on GitHub
.github/workflows/gem-test.yml

Summary

Maintainability
Test Coverage
name: Gem

on: [push, pull_request]

jobs:
  integration-tests:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['2.6', '2.7', '3.0']
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ./.github/actions/setup-ruby-1.71.0
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Install ssh_scan gem
      run: gem install ssh_scan
    - name: Set permissions for execution
      run: chmod 755 ./spec/ssh_scan/integration.sh
    - name: Ruby Integration Tests
      run: ./spec/ssh_scan/integration.sh