Skip to content

Commit

Permalink
Add server as env var for tests GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
gadhagod committed Jul 31, 2024
1 parent 429bc27 commit fcf3e14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/local-api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ jobs:
- name: Clone v2-src
run: git clone https://github.com/gadhagod/Hyrule-Compendium-API -b v2-src v2
- name: Start server
run: python3 -c "from server import app; app.run()" ${{ secrets.RS2_TOKEN }} &
run: python3 -c "from server import app; app.run()" &
env:
MONGO_PASSWORD: ${{ secrets.MONGO_PASSWORD }}
MONGO_USERNAME: ${{ secrets.MONGO_USERNAME }}
RS2_TOKEN: ${{ secrets.RS2_TOKEN }}
RS2_SERVER: ${{ secrets.RS2_SERVER }}

- name: Install test dependencies
run: |
Expand Down

0 comments on commit fcf3e14

Please sign in to comment.