Skip to content

Commit

Permalink
Separates getting brawlkey from env into own step
Browse files Browse the repository at this point in the history
  • Loading branch information
LevBernstein committed Nov 18, 2021
1 parent 991145b commit 913d5b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Installs dependencies, runs tests with pytest, and reports code coverage.

name: Beardless Bot
name: Beardless Bot Unit Tests

defaults:
run:
shell: bash

on:
push:
Expand All @@ -20,13 +24,13 @@ jobs:
with:
python-version: 3.9
- name: Install dependencies
shell: bash
env:
BRAWLKEY: ${{ secrets.BRAWLHALLAKEY }}
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r resources/requirements.txt
- name: Get Brawl API key
env:
BRAWLKEY: ${{ secrets.BRAWLHALLAKEY }}
run: |
echo "$BRAWLKEY" > "resources/brawlhallaKey.txt"
- name: Test with pytest
run: |
Expand Down
2 changes: 1 addition & 1 deletion Bot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
""" Beardless Bot """
__version__ = "Full Release 1.6.11"
__version__ = "Full Release 1.6.12"

import asyncio
from random import choice, randint
Expand Down
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Beardless Bot

### Full Release 1.6.11
### Full Release 1.6.12

A Discord bot supporting gambling (coin flips and blackjack),
a currency system, fun facts, and more.
Expand Down

0 comments on commit 913d5b1

Please sign in to comment.