clean up duplication in random_event_player and improve randomizer te… #389
Workflow file for this run
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: Lint all Python files | |
| on: [push, pull_request] | |
| jobs: | |
| prospector: | |
| name: Run Prospector on all Python files | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Setup python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.12 | |
| - name: Install MPF | |
| run: | | |
| sudo apt-get install -y libjpeg-dev | |
| pip install --upgrade pip setuptools wheel build prospector | |
| pip install -e . | |
| - name: Run Prospector | |
| run: prospector |