Skip to content

Commit ef5ad7c

Browse files
committed
Combine tests
1 parent 2ae0d25 commit ef5ad7c

File tree

1 file changed

+7
-26
lines changed

1 file changed

+7
-26
lines changed

.github/workflows/unit_tests.yml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ jobs:
6464
run: |
6565
uv run pytest -m "not integration_test" --cov vec_inf --cov-report=xml tests
6666
67+
- name: Install the core package only
68+
run: uv sync --no-dev
69+
70+
- name: Run package import tests
71+
run: |
72+
uv run pytest tests/test_imports.py
73+
6774
- name: Upload coverage to Codecov
6875
uses: codecov/codecov-action@v5.4.0
6976
with:
@@ -72,29 +79,3 @@ jobs:
7279
name: codecov-umbrella
7380
fail_ci_if_error: true
7481
verbose: true
75-
76-
import-test:
77-
runs-on: ubuntu-latest
78-
strategy:
79-
matrix:
80-
python-version: ["3.10", "3.11", "3.12"]
81-
steps:
82-
- uses: actions/checkout@v4.2.2
83-
84-
- name: Install uv
85-
uses: astral-sh/setup-uv@v5.3.1
86-
with:
87-
version: "0.5.21"
88-
enable-cache: true
89-
90-
- name: "Set up Python ${{ matrix.python-version }}"
91-
uses: actions/setup-python@v5.4.0
92-
with:
93-
python-version: ${{ matrix.python-version }}
94-
95-
- name: Install the core package only
96-
run: uv sync
97-
98-
- name: Run import tests
99-
run: |
100-
uv run pytest tests/test_imports.py

0 commit comments

Comments
 (0)