ensure color blind friendly figures (#105) #566
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
| # This workflow will install Python dependencies, run tests. | |
| # For more information see: | |
| # https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10"] | |
| steps: | |
| - name: Checkout github repo | |
| uses: actions/checkout@v4 | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: "3.10" | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Install fftw3 | |
| run: | | |
| sudo apt-get install libfftw3-dev | |
| - name: Install the project | |
| run: uv sync --all-extras --dev | |
| - name: Run ruff | |
| run: | | |
| uv run ruff check --output-format=github bliss/ | |
| - name: Run Tests | |
| run: | | |
| export BLISS_DATA_DIR="/home/runner/work/bliss/bliss/data/" | |
| uv run pytest tests |