Skip to content

Commit aa3a16e

Browse files
committed
Fix CI workflow for cross-platform compatibility
- Remove redundant --exclude flags from ruff commands (already in config) - Switch to uv sync --dev and uv run for cross-platform test execution - Fix YAML indentation issues
1 parent 2ccec60 commit aa3a16e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
run: uv sync --dev
3232

3333
- name: Run ruff linter
34-
run: uv run ruff check src/ --exclude src/codeoptix/vendor/
34+
run: uv run ruff check src/
3535

3636
- name: Run ruff formatter
37-
run: uv run ruff format --check src/ --exclude src/codeoptix/vendor/
37+
run: uv run ruff format --check src/
3838

3939
test:
4040
name: Test (${{ matrix.os }} / Python ${{ matrix.python-version }})
@@ -59,14 +59,10 @@ jobs:
5959
version: "latest"
6060

6161
- name: Install dependencies
62-
run: |
63-
uv venv
64-
uv pip install -e ".[dev]"
62+
run: uv sync --dev
6563

6664
- name: Run tests
67-
run: |
68-
source .venv/bin/activate
69-
pytest tests/ -v --cov=src/codeoptix --cov-report=xml --cov-report=term
65+
run: uv run pytest tests/ -v --cov=src/codeoptix --cov-report=xml --cov-report=term
7066

7167
- name: Upload coverage
7268
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)