From 53eb31b88adccf8b6351360233e4d5c0f1bdb792 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Fri, 1 Dec 2023 19:52:38 +0100 Subject: [PATCH] github-actions: rollback python3 to python --- .github/workflows/actions.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 97ccceb6..8295039e 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -30,26 +30,23 @@ jobs: - name: Setup virtual environment run: | - python3 --version - python3 -m venv .venv + python --version # this uses python3.12 instead of python3.X + python -m venv .venv source .venv/bin/activate # this will not work on widows - name: Upgrade pip - run: pip3 install --upgrade pip - - - name: Install wheel - run: pip3 install pytest + run: pip install --upgrade pip - name: Install lib - run: python3 setup.py develop + run: python setup.py develop - name: Run pytest run: pytest - name: Install wheel - run: pip3 install wheel + run: pip install wheel - name: Build wheel - run: python3 setup.py wheel + run: python setup.py wheel # TODO: add deploy job \ No newline at end of file