Wrote handle_initial_action docstrings #415
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Casino CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install pyinstaller | |
| - name: Run database setup | |
| run: | | |
| python -c "from Application.Casino.Accounts.db import init_db; init_db()" | |
| - name: Run tests | |
| run: | | |
| python -m unittest discover | |
| - name: Build Executable | |
| run: | | |
| pyinstaller --onefile Application/MainApplication.py --name casino-app | |
| - name: Debug artifact generation | |
| run: | | |
| ls -al dist | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: casino-app | |
| path: dist/casino-app |