Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nemouet authored May 23, 2024
1 parent 4769625 commit 8bfa3ac
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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/test_api.py

0 comments on commit 8bfa3ac

Please sign in to comment.