Skip to content

Commit e227654

Browse files
authored
Fix an issue in python linter yml file
1 parent f38f598 commit e227654

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python_linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ jobs:
6464
# Create a virtualenv
6565
python -m venv python${{ matrix.python-version }}-venv
6666
# Activate virtualenv
67-
source python${{ matrix.python-version }}-venv
67+
source python${{ matrix.python-version }}-venv/bin/activate
6868
6969
########################
7070
# Install dependencies #
7171
########################
7272
- name: Install dependencies
7373
run: |
7474
# Activate virtualenv
75-
source python${{ matrix.python-version }}-venv
75+
source python${{ matrix.python-version }}-venv/bin/activate
7676
# Upgrade pip
7777
python -m pip install --upgrade pip
7878
# Install linters and other python modules
@@ -84,7 +84,7 @@ jobs:
8484
- name: Install requirements
8585
run: |
8686
# Activate virtualenv
87-
source python${{ matrix.python-version }}-venv
87+
source python${{ matrix.python-version }}-venv/bin/activate
8888
# Install requirements
8989
pip install -r requirements.txt
9090
@@ -94,7 +94,7 @@ jobs:
9494
- name: Python Code Quality and Lint
9595
run: |
9696
# Activate virtualenv
97-
source python${{ matrix.python-version }}-venv
97+
source python${{ matrix.python-version }}-venv/bin/activate
9898
# Module to be tested
9999
module=.
100100
# pylint

0 commit comments

Comments
 (0)