test: test_deploy_log_deployed_resources #206
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
# .github/workflows/ci-cd.yml | |
on: | |
pull_request: {} | |
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 | |
- uses: eifinger/setup-rye@v3 | |
id: setup-rye | |
with: | |
version: "0.42.0" | |
cache-prefix: ${{ matrix.python-version }} | |
- name: Pin python-version ${{ matrix.python-version }} | |
run: rye pin ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: rye sync --no-lock | |
- name: Install kedro | |
run: rye add kedro==${{ matrix.kedro_version }} | |
- name: Lint code | |
run: rye lint | |
# - name: Run Unit tests | |
# run: | | |
# source .venv/bin/activate | |
# rye test -- ./tests/unit --coverage-xml=coverage.xml | |
- name: Run Unit tests | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: da3f5759a5a5a6d46a177034edb82b7874d2936d886cc66e7ad09639498213af # This is not considered a secret | |
with: | |
coverageCommand: | | |
source .venv/bin/activate | |
rye test -- ./tests/unit --coverage-xml=coverage.xml | |
debug: true | |
coverageLocations: coverage.xml:coverage.py |