example show_spectrum.py for RC-110 (and RC103G) (#59) #99
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: tests | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.13'] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/0.9.13/install.sh | sh | |
| - name: Ruff | |
| run: | | |
| sudo apt-get install -y libglib2.0-dev | |
| uv run ruff check | |
| uv run ruff format --check | |
| # TODO | |
| # - name: Run tests | |
| # run: | | |
| # poetry run pytest -ra -v |