Skip to content

Added CI github action #2

Added CI github action

Added CI github action #2

Workflow file for this run

name: CI
on:
workflow_dispatch: {}
push:
branches:
- main
paths-ignore:
- ".git**"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest