docs: product ID 1599715149861306368
is the "RCF 3" mop
#36
Workflow file for this run
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: Python | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install ruff twine build | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Lint | |
run: | | |
ruff --format=github --select=E9,F63,F7,F82 --target-version=py39 . | |
ruff --format=github --target-version=py39 . | |
- name: Test | |
run: | | |
python -m unittest discover -s ./tests -p 'test_*.py' | |
- name: Package | |
run: | | |
python -m build | |
python -m twine check dist/* |