feat: add manifest-driven action commands and nqctl act #17
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev,qcodes,nanonis]" build | |
| - name: Ruff | |
| run: ruff check . | |
| - name: Black | |
| run: black --check . | |
| - name: Mypy | |
| run: mypy nanonis_qcodes_controller | |
| - name: Pytest | |
| run: pytest | |
| - name: Build | |
| run: python -m build | |
| - name: Upload dist artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: dist | |
| path: dist/* |