Ci/integration test on call #13
Workflow file for this run
This file contains 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: Unit tests | ||
on: | ||
pull_request: {} | ||
permissions: | ||
checks: write | ||
pull-requests: write | ||
jobs: | ||
test: | ||
name: Run tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
kedro_version: ["0.19.7", "0.19.8"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Sync kedro-databricks | ||
run: | | ||
uv sync --dev | ||
uv add "kedro==${{ matrix.kedro_version }}" | ||
- name: Test kedro-databricks | ||
run: uv run pytest tests/unit | ||
- name: Coverage comment | ||
uses: MishaKav/pytest-coverage-comment@main | ||
with: | ||
github-token: ${{ github.token }} | ||
title: "Unit Test Coverage Report" | ||
pytest-xml-coverage-path: "coverage.xml" | ||
version: | ||
name: Set Name and Version from pyproject.toml to output | ||
uses: ./.github/workflows/reuseable-version.yml | ||
Check failure on line 35 in .github/workflows/unit_tests.yml GitHub Actions / .github/workflows/unit_tests.ymlInvalid workflow file
|
||
with: | ||
push: false | ||
changelog_path: "body.md" | ||
secrets: | ||
GITHUB_TOKEN: ${{ github.token }} |