add example using clap #340
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: | |
pull_request: | |
jobs: | |
python: | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: [ubuntu-latest] | |
python: [ '3.7', '3.11' ] | |
runs-on: ${{matrix.runner}} | |
name: OS ${{matrix.runner}} Python ${{matrix.python}} | |
steps: | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Checkout this repo | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pwd | |
ls -l | |
#pip install flask-httpauth | |
#pip install pytest | |
#pip install pytest-flake8 | |
pip install -r requirements.txt | |
python -V | |
- name: Regular Tests | |
run: | | |
python tests/check.py | |