Add CF Tutorials to CF org automation #21
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: 'Org Automation CI' | |
| on: | |
| pull_request: | |
| paths: | |
| - 'orgs/*.py' | |
| - 'orgs/requirements*' | |
| - 'orgs/pyproject.toml' | |
| - '.github/workflows/org-management-ci.yml' | |
| jobs: | |
| org-automation-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.13 | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: community | |
| - name: pip install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r community/orgs/requirements.txt | |
| pip install -r community/orgs/requirements-dev.txt | |
| - name: flake8 and black | |
| run: | | |
| cd community/orgs | |
| python -m flake8 | |
| - name: unit tests | |
| run: | | |
| cd community/orgs | |
| python -m unittest discover -s . |