8002 fix + checks test #5622
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: Check filenames | |
on: | |
push: | |
paths: | |
- 'masks/**' | |
- 'tools/check_filename.py' | |
- '.github/workflows/check_filename.yml' | |
pull_request: | |
paths: | |
- 'masks/**' | |
- 'tools/check_filename.py' | |
- '.github/workflows/check_filename.yml' | |
jobs: | |
stat: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Maximize build space | |
uses: easimon/maximize-build-space@67afc2d7662c9d296547435e7605cc57a1df46f3 | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pillow tqdm numpy | |
- name: Check filenames | |
run: | | |
python tools/check_filename.py |