name: ubuntu on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.6.x', '2.5.x', '2.4.x' ] steps: - uses: actions/checkout@master - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: | sudo apt install libncursesw5-dev gem install bundler --no-document bundle install - name: Run test run: xvfb-run bundle exec rake test env: UPLOAD_TO_CODECOV: 1 CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}