From 52e5272a891267e072499f3af50675ec5bb147f8 Mon Sep 17 00:00:00 2001 From: Raniro Coelho Date: Sun, 25 Aug 2024 21:14:02 -0300 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6bb9c85..b79be5b 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -7,28 +7,7 @@ on: branches: [ main ] jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.12' - - name: Install dependencies - working-directory: ./api - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install pytest - - name: Run tests - working-directory: ./api - run: | - export PYTHONPATH=$PYTHONPATH:$(pwd) - pytest - build: - needs: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -39,11 +18,9 @@ jobs: - name: Check running containers run: docker ps -a - # Placeholder for deployment deploy: needs: build runs-on: ubuntu-latest steps: - name: Deploy to production run: echo "Deploying to production server" - # Add your deployment steps here