From 35da16f203789bcc836499b0019e4b887977a9f1 Mon Sep 17 00:00:00 2001
From: Nick Sweeting <git@sweeting.me>
Date: Fri, 11 Dec 2020 21:41:46 +0200
Subject: [PATCH] different bash switch style

---
 .github/workflows/test.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4e34f768..544fb4a1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -87,9 +87,11 @@ jobs:
           archivebox version
 
       - name: Test built package with pytest
+        env:
+          OS: ${{ matrix.os }}
         run: |
           # TODO: remove this exception for windows once we get tests passing on that platform
-          if [[ ${{ matrix.os }} == "windows-latest" ]]; then
+          if [[ "$OS" == "windows-latest" ]]; then
             echo "Skipping tests on Windows"
           else
             python -m pytest -s