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 99f72eb
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 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 @@ -37,27 +37,24 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install pycdio dependencies from distribution
- name: Install pycdio build and runtime dependencies from distribution
run: |
sudo apt-get update
sudo apt-get install -y libcdio-dev libiso9660-dev libdiscid-dev
sudo apt-get install -y libcdio-dev libiso9660-dev libdiscid-dev swig
- name: Install ARver dependencies from distribution
- name: Install ARver build and runtime dependencies from distribution
run: |
sudo apt-get install -y libsndfile-dev
- name: Install ARver dependencies from PyPI
- name: Build and install ARver
run: |
python3 --version
python3 -m pip install --upgrade pip
pip3 install --upgrade pip
pip3 install setuptools
pip3 install -r requirements.txt
pip3 install --editable .
arver --version
pip3 list
- name: Build C extension
run: |
make ext
- name: Run unit tests
run: |
make test

0 comments on commit 99f72eb

Please sign in to comment.