Fixed build errors #4
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: Python CI Pipeline | |
| on: | |
| push: | |
| branches: ["development"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install lint tools | |
| run: pip install flake8 black | |
| - name: Run black (check) | |
| run: python -m black --check . | |
| - name: Run flake8 | |
| run: flake8 . | |
| - name: Install Dependencies | |
| run: | |
| pip install -r requirements.txt | |
| - name: Run tests | |
| run: pytest -q | |