Skip to content

Commit

Permalink
use a virtual environment for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arcctgx committed Nov 1, 2024
1 parent 9136570 commit d1e3057
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Unit tests

on:
push:
branches:
- master
#branches:
#- master
paths:
- .github/workflows/unit-tests.yml
- arver/**
Expand All @@ -26,7 +26,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- name: Check out repository
Expand All @@ -46,17 +46,13 @@ jobs:
run: |
sudo apt-get install -y libsndfile-dev
- name: Install ARver dependencies from PyPI
run: |
python3 --version
python3 -m pip install --upgrade pip
pip3 install setuptools
pip3 install -r requirements.txt
pip3 list
- name: Build C extension
- name: Build and install ARver in a virtual environment
run: |
make ext
python3 -m venv --clear .venv
source .venv/bin/activate
pip3 --version
pip3 install .
arver --version
- name: Run unit tests
run: |
Expand Down

0 comments on commit d1e3057

Please sign in to comment.