Bump flake8 from 5.0.4 to 7.1.1 #1405
This file contains 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: Test Examples | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test_examples: | |
name: Test Examples | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
id: python | |
uses: actions/setup-python@v4.2.0 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
pipenv sync -d | |
- name: Running examples as tests | |
env: | |
HYPIXEL_KEY: ${{ secrets.HYPIXEL_KEY }} | |
run: | | |
pipenv run python -m examples.async-player | |
pipenv run python -m examples.get-guild-data | |
pipenv run python -m examples.get-player-data | |
pipenv run python -m examples.get-watchdog-stats | |
pipenv run python -m examples.user-to-uuid | |
pipenv run python -m examples.uuid-to-username |