Skip to content

refactor: type hints and clarity #5

refactor: type hints and clarity

refactor: type hints and clarity #5

Workflow file for this run

name: Dirty Script Test
on:
push:
paths:
- '**.py'
workflow_dispatch:
jobs:
test:
name: Dirty Script Test
runs-on: ubuntu-latest
environment: discord_live_testing
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11.0'
- name: Install Script Dependencies
run: pip install -r requirements.txt
- name: Disable File Exports
run: |
sudo chmod +x .github/change_config_export.sh
sudo .github/change_config_export.sh false
- name: Test Script Runs with CLI Args
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_SERVER_ID: ${{ secrets.DISCORD_SERVER_ID }}
timeout-minutes: 2
run: |
python3 main.py "$DISCORD_TOKEN" "$DISCORD_SERVER_ID" true