summary refs log tree commit
path: root/.github/workflows/test-external.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-external.yaml')
-rw-r--r--.github/workflows/test-external.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/test-external.yaml b/.github/workflows/test-external.yaml
new file mode 100644
index 00000000..59c25ef4
--- /dev/null
+++ b/.github/workflows/test-external.yaml
@@ -0,0 +1,34 @@
+name: Test External
+
+on: [push, pull_request]
+
+permissions:
+  contents: read
+
+jobs:
+  test:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-latest]
+        ruby: ['2.7', '3.0', '3.1']
+
+    runs-on: ${{matrix.os}}
+
+    steps:
+    - uses: actions/checkout@v3
+
+    - uses: ruby/setup-ruby@v1
+      with:
+        ruby-version: ${{matrix.ruby}}
+        bundler-cache: true
+
+    - name: Installing packages (ubuntu)
+      if: matrix.os == 'ubuntu-latest'
+      run: sudo apt-get install libfcgi-dev libmemcached-dev
+
+    - name: Installing packages (macos)
+      if: matrix.os == 'macos-latest'
+      run: brew install fcgi libmemcached
+
+    - run: bundle exec bake test:external