Skip to content

Update CI test and add Python version file #1407

Update CI test and add Python version file

Update CI test and add Python version file #1407

Workflow file for this run

name: CI Test
on: [push, pull_request]
jobs:
build-linux:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install -r requirements.txt
- name: Install CNApy
run: |
python setup.py install
- name: Test CNApy
run: |
pytest -v ./cnapy/tests/test.py
build-windows:
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install -r requirements.txt
- name: Install CNApy
run: |
python setup.py install
- name: Test CNApy
run: |
pytest -v ./cnapy/tests/test.py
build-macos:
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install -r requirements.txt
- name: Install CNApy
run: |
python setup.py install
- name: Test CNApy
run: |
pytest -v ./cnapy/tests/test.py