Skip to content

Commit

Permalink
ci: add Validoopsie to downstream tests (#1973)
Browse files Browse the repository at this point in the history
* new: Validdopsie in downstream tests

* fix: pytest config warning

* Update .github/workflows/downstream_tests.yml

Co-authored-by: Francesco Bruzzesi <[email protected]>

* fix: accidentally kept `workflow_dispatch`

---------

Co-authored-by: Francesco Bruzzesi <[email protected]>
  • Loading branch information
akmalsoliev and FBruzzesi authored Feb 8, 2025
1 parent 6ae40c9 commit 62089ce
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/downstream_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,44 @@ jobs:
run: |
cd formulaic
hatch run tests --config-file=pyproject.toml
validoopsie:
strategy:
matrix:
python-version: ["3.9", "3.12"] # 3.9 and 3.12 are enough to cover all the tests
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: "true"
cache-suffix: ${{ matrix.python-version }}
cache-dependency-glob: "pyproject.toml"
- name: clone-validoopsie
run: |
git clone https://github.com/akmalsoliev/Validoopsie.git --depth=1 validoopsie
cd validoopsie
git log
- name: install-validoopsie-dev
run: |
cd validoopsie
uv sync --dev
uv pip install pytest-env
which python
- name: show-deps
run: uv pip freeze
- name: install-narwhals-dev
run: |
cd validoopsie
uv pip uninstall narwhals
uv pip install -e ./..
- name: Run tests
run: |
cd validoopsie
uv run pytest
timeout-minutes: 15

0 comments on commit 62089ce

Please sign in to comment.