From 39d21ced0b866b7035f2cfa2b72331b559ed0893 Mon Sep 17 00:00:00 2001 From: Firq Date: Wed, 20 Dec 2023 17:21:23 +0100 Subject: [PATCH] Removed venv step --- .forgejo/workflows/ci.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 735868d..52465df 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -8,11 +8,8 @@ jobs: steps: - name: Checkout source code uses: https://code.forgejo.org/actions/checkout@v3 - - name: Setup venv - run: | - cd backend - python -m venv .venv - ./.venv/bin/activate + - name: Switch to correct directory + run: cd backend - name: Install packages run: | pip install -e . -q @@ -30,11 +27,8 @@ jobs: steps: - name: Checkout source code uses: https://code.forgejo.org/actions/checkout@v3 - - name: Setup venv and install packages - run: | - cd backend - python -m venv .venv - ./.venv/bin/activate + - name: Switch to correct directory + run: cd backend - name: Install packages run: pip install build - name: Build package