We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a9c9bc commit ecd18e6Copy full SHA for ecd18e6
.github/workflows/test.yml
@@ -0,0 +1,30 @@
1
+name: Test workflow
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ test:
7
+ strategy:
8
+ fail-fast: false
9
+ matrix:
10
+ os: [ubuntu-latest]
11
+ ruby: [2.5, 2.6, 2.7]
12
+ rails: ['~> 4.1', '~> 5.2', '~> 6.0']
13
+ runs-on: ${{ matrix.os }}
14
+ env:
15
+ RAILS_VERSION: ${{ matrix.rails }}
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: ${{ matrix.ruby }}
21
+ bundler-cache: true
22
23
+ - name: Setup wkhtmltopdf
24
+ run: |
25
+ sudo apt-get install -y xfonts-base xfonts-75dpi
26
+ wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
27
+ sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
28
29
+ - name: Run tests
30
+ run: bundle exec rake
0 commit comments