From 78e1b8c15b748b500206146e9aecfade7e1fe7eb Mon Sep 17 00:00:00 2001
From: Nick Sweeting <git@sweeting.me>
Date: Tue, 28 Jul 2020 07:27:42 -0400
Subject: [PATCH] put venv in path instead of manually hardcoding bins

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

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 21216a35..9b5f3513 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -62,12 +62,13 @@ jobs:
       - name: Install dependencies
         run: |
           python3 -m venv .venv
-          ./.venv/bin/python -m pip install .
-          ./.venv/bin/python -m pip install pytest bottle
+          source .venv/bin/activate
+          python -m pip install .
+          python -m pip install pytest bottle
 
       - name: Test built package with pytest
         run: |
-          ./.venv/bin/python -m pytest -s
+          python -m pytest -s
 
   docker-test:
     runs-on: ubuntu-latest