Skip to content

fix: Setup Tools + PEP-625 #98

fix: Setup Tools + PEP-625

fix: Setup Tools + PEP-625 #98

Workflow file for this run

name: Test
on:
workflow_call:
push:
branches-ignore:
- main
jobs:
build-providers:
uses: ./.github/workflows/build-providers.yaml
pytest:
runs-on: ubuntu-latest
needs: build-providers
strategy:
matrix:
python: ["3.11"]
steps:
# Restore Provider Packages
- uses: actions/checkout@v4
- uses: actions/cache/restore@v3
id: cache
with:
path: build/
key: cally-test-providers
# Cally Install
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install Provider Pacakges
run: pip install build/**/*.tar.gz
- name: Install Cally test dependencies
run: pip install .[test]
# Run Tests
- name: Run Pytest
run: pytest -v