Skip to content

Update ci.yml

Update ci.yml #5

Workflow file for this run

name: CI workflow
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
unit_testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10.6"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r API/requirements.txt
- uses: ricardochaves/[email protected]
with:
python-root-list: "API"
use-pylint: false
use-pycodestyle: false
use-flake8: false
use-black: false
use-mypy: false
use-isort: false
- name: Run tests
run: |
python API/unit_test/test_api.py