Skip to content

Commit 0713980

Browse files
committed
fix (CI): removing useless venv in CI, adding names
1 parent 7ea4761 commit 0713980

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
python-version: ["3.9", "3.10", "3.11"]
1919

2020
steps:
21+
- name: Clone repository
2122
- uses: actions/checkout@v5
2223

2324
- name: Set up Python ${{ matrix.python-version }}
@@ -30,48 +31,46 @@ jobs:
3031
with:
3132
distribution: 'temurin'
3233
java-version: '25'
33-
- name: Create and activate virtualenv
34-
run: |
35-
python -m venv venv
36-
source venv/bin/activate
37-
python -m pip install --upgrade pip
3834

3935
- name: Install dependencies
4036
run: |
41-
source venv/bin/activate
4237
pip install setuptools wheel build pytest pytest-xdist
4338
python -m build --sdist --wheel
4439
pip install dist/*.whl
4540
4641
- name: Verify installed packages
4742
run: |
48-
source venv/bin/activate
4943
pip list
5044
5145
- name: Import language_tool_python
5246
run: |
53-
source venv/bin/activate
5447
printf "import language_tool_python\n" | python
5548
5649
- name: Test with pytest
5750
run: |
58-
source venv/bin/activate
5951
pytest -vx --dist=loadfile -n auto
6052
6153
- name: Run additional tests in bash scripts for Ubuntu
6254
run: |
63-
source venv/bin/activate
6455
bash tests/test_local.bash
6556
bash tests/test_remote.bash
57+
6658
lint:
6759
name: Lint with Ruff
6860
runs-on: ubuntu-latest
6961
steps:
62+
- name: Clone repository
7063
- uses: actions/checkout@v5
64+
65+
- name: Set up Python 3.14
7166
- uses: actions/setup-python@v6
7267
with:
7368
python-version: "3.14"
69+
70+
- name: Install Ruff
7471
- run: pip install ruff
72+
73+
- name: Run Ruff Linter
7574
- run: |
7675
ruff check .
7776
ruff format --check .

0 commit comments

Comments
 (0)