Skip to content

Feature/th16 content #625

Feature/th16 content

Feature/th16 content #625

Workflow file for this run

name: coc.py Workflows
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
# python-version: ["3.7.13", "3.8.13", "3.9.13", "3.10"]
python-version: [3.8]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Running examples as tests
env:
DEV_SITE_EMAIL: ${{ secrets.DEV_SITE_EMAIL }}
DEV_SITE_PASSWORD: ${{ secrets.DEV_SITE_PASSWORD }}
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
LINKS_API_USERNAME: ${{ secrets.LINKS_API_USERNAME }}
LINKS_API_PASSWORD: ${{ secrets.LINKS_API_PASSWORD }}
RUNNING_TESTS: true
run: |
python -m examples.discord_links
python -m examples.events_example
python -m examples.war_logs