Skip to content

[CI/CD] Add ci/cd workflows, and link to README #3

[CI/CD] Add ci/cd workflows, and link to README

[CI/CD] Add ci/cd workflows, and link to README #3

Workflow file for this run

name: Test on PR
on:
pull_request:
push:
branches: [master]
jobs:
tests:
name: Run unittest
runs-on: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: Install the package
run: |
pip install -e .
- name: Test with unittest
run: |
cd tests/
pip list
bash run_tests.sh