Skip to content

Merge pull request #19 from vmariiechko/docs/sdp-expectation-notifica… #52

Merge pull request #19 from vmariiechko/docs/sdp-expectation-notifica…

Merge pull request #19 from vmariiechko/docs/sdp-expectation-notifica… #52

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'
cache-dependency-path: 'tests/requirements_dev.txt'
- name: Install Databricks CLI
run: |
curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh
databricks --version
- name: Install dependencies
run: pip install -r tests/requirements_dev.txt
- name: Run tests
run: pytest tests/ -v --tb=short --junitxml=test-results.xml
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: test-results.xml