Skip to content

require specific version of blis #4

require specific version of blis

require specific version of blis #4

Workflow file for this run

name: Run Unit Tests
on:
push:
branches:
- '**' # Run on all branches
pull_request:
branches:
- '**' # Run on all pull requests
jobs:
test:
strategy:
matrix:
python-version: [3.8, 3.9, 3.11] # Specify Python versions >= 3.8
runs-on: ubuntu-latest
steps:
# Step 1: Check out the repository
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Step 3: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Step 4: Run unit tests and save logs
- name: Run Unit Tests
run: |
pytest --maxfail=5 --disable-warnings | tee pytest_${{ matrix.python-version }}.log
# Step 5: Always save logs
- name: Save Test Logs
uses: actions/upload-artifact@v3
with:
name: pytest-logs-${{ matrix.python-version }}
path: pytest_${{ matrix.python-version }}.log