Update version to 1.10.0 and add folio-data-import dependency back #2246
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 single version of Python | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
| name: Build and Test | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b | |
| with: | |
| python-version: "3.10" | |
| enable-cache: true | |
| - name: Install project | |
| run: uv sync --all-extras --dev | |
| - name: Lint with Ruff | |
| run: uv run ruff check src/ | |
| - name: Run tests | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.TESTS_GITHUB_TOKEN }} | |
| run: uv run pytest --cov=./ --cov-report=xml --durations=20 tests/ | |
| - name: Make sure the code can run | |
| run: | | |
| uv run folio-migration-tools -h | |
| - name: Run the nox safety session | |
| run: | | |
| uvx nox -rs safety | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v3.1.4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| directory: ./ | |
| env_vars: OS,PYTHON | |
| fail_ci_if_error: true | |
| files: ./coverage.xml | |
| flags: unittests | |
| name: codecov-umbrella | |
| verbose: true | |
| - name: clone repo_template | |
| uses: actions/checkout@master | |
| with: | |
| repository: FOLIO-FSE/migration_repo_template | |
| path: ./migration_repo_template |