From eae25e8f87cee2662b58c07b0cffe8e4985630b3 Mon Sep 17 00:00:00 2001 From: Elijah Date: Fri, 12 Jan 2024 09:45:34 +0100 Subject: [PATCH] Check if Python is installed by default --- .gitea/workflows/ci-pipeline.yaml | 34 ++----------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/.gitea/workflows/ci-pipeline.yaml b/.gitea/workflows/ci-pipeline.yaml index 1189e76..f1aab5a 100644 --- a/.gitea/workflows/ci-pipeline.yaml +++ b/.gitea/workflows/ci-pipeline.yaml @@ -15,37 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - - name: Check Python Version + - name: Check if Python is installed by default run: | - python3 --version - - - name: Create virtual environment - run: | - python -m venv venv - source venv/bin/activate - - - name: Install dependencies - run: | - pip install --upgrade pip - pip install -r requirements.txt - - - name: Run makemigrations - run: | - source venv/bin/activate - python manage.py makemigrations - - - name: Run migrate - run: | - source venv/bin/activate - python manage.py migrate - - - name: Run tests - run: | - source venv/bin/activate - python manage.py test + python3 -c "print('Hi')"