From 162e128366a61d2758005cbb84f84468a4083b85 Mon Sep 17 00:00:00 2001 From: Game_Time <108236317+RayBytes@users.noreply.github.com> Date: Sat, 19 Aug 2023 19:19:54 +0500 Subject: [PATCH] setting enviornmental variables properly --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8b1bd2b..d0a8e26 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,10 @@ on: [pull_request] jobs: test: runs-on: ubuntu-latest - + env: + MONGO_URI: ${{ secrets.MONGO_URI }} + NOVA_KEY: ${{ secrets.NOVA_KEY }} + steps: - name: Checkout code uses: actions/checkout@v2 @@ -21,9 +24,6 @@ jobs: pip install -r requirements.txt - name: Start API server - env: - MONGO_URI: ${{ secrets.MONGO_URI }} - NOVA_KEY: letstrythis run: | python run