From 493b6911dd196460a68cd2373c16bdd0416be97e Mon Sep 17 00:00:00 2001
From: Constantin Nickel <constantin.nickel@gmail.com>
Date: Mon, 12 Oct 2020 13:58:56 +0200
Subject: [PATCH] Move the Autobahn Testsuite to a separate job

---
 .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index db1bdcf..8e837df 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,6 +69,33 @@ jobs:
       - name: Test async-std-runtime
         run: cargo test --features async-std-runtime
 
+  autobahn:
+    name: Autobahn tests
+    runs-on: ubuntu-latest
+
+    strategy:
+      matrix:
+        rust:
+          - stable
+          - beta
+          - nightly
+
+    steps:
+      - name: Checkout sources
+        uses: actions/checkout@v2
+
+      - name: Install toolchain
+        uses: actions-rs/toolchain@v1
+        with:
+          toolchain: ${{ matrix.rust }}
+          profile: minimal
+          override: true
+
+      - name: Install dependencies
+        run: |
+          sudo apt-get install python-unittest2
+          sudo pip install urllib3[secure] autobahntestsuite
+
       - name: Running Autobahn TestSuite for client
         run: ./scripts/autobahn-client.sh