File: tests.yaml

package info (click to toggle)
vim-command-t 5.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 760 kB
  • sloc: ruby: 3,433; ansic: 1,177; makefile: 37; xml: 11
file content (22 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: tests
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install libraries
        run: |
          set -x
          sudo apt-get update -q || :
          sudo apt-get install --no-install-recommends -q -y build-essential ruby-dev bundler
      - name: Build extension
        run: |
          pushd ./ruby/command-t/ext/command-t
          ruby extconf.rb --vendor
          make
          popd
      - name: Install dependencies
        run: bundle install
      - name: Run tests
        run: bundle exec rspec -Iruby