From b998c7859108396e9587256fe7535c9197d5f6d0 Mon Sep 17 00:00:00 2001 From: Andrii Labych Date: Sun, 30 Mar 2025 14:40:37 +0300 Subject: [PATCH] main.yml --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..ac7ff616 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Flask CI + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - 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 -e .[dev] + + - name: Run tests + run: | + pytest tests