Fix missing quotes. #76
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
| # This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: decasu mapping | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Need to clone everything to determine version from git. | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| cache: "pip" | |
| cache-dependency-path: "requirements.txt" | |
| - name: Build and install | |
| run: | | |
| python -m pip install --upgrade pip setuptools | |
| python -m pip install pytest flake8 | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| python -m pip install . | |
| - name: Lint with flake8 | |
| run: | | |
| # stop the build if it fails flake8 with default pyproject.toml | |
| flake8 . --count --show-source --statistics | |
| - name: Run tests | |
| run: | | |
| cd tests | |
| pytest |