Skip to content

Commit 0409bb4

Browse files
committed
Use Python venv to build virtual environment for CI
References: * [AC-195] Use Python venv instead of virtualenv to build virtual environments for CI Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent 756a50d commit 0409bb4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
uses: actions/setup-python@v2
3232
with:
3333
python-version: ${{ matrix.python-version }}
34-
- name: Install Python virtualenv for Github runner
35-
run: |
36-
python -m pip install --upgrade pip
37-
pip install virtualenv
3834
- name: Start from clean state
3935
run: make clean
4036
- name: Run tests

tests/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ all: \
4141
$(top_srcdir)/setup.py \
4242
requirements.txt
4343
rm -rf venv
44-
$(PYTHON3) -m virtualenv \
45-
--python=$(PYTHON3) \
44+
$(PYTHON3) -m venv \
4645
venv
4746
source venv/bin/activate \
4847
&& pip install \

0 commit comments

Comments
 (0)