From 83db1c23e2f0bc45ab89efa8112a6b824c2316d3 Mon Sep 17 00:00:00 2001 From: Christoph Knote Date: Thu, 3 Mar 2022 07:19:34 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a735fe..5712c95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,23 +12,19 @@ cache: - venv/ before_script: - - python --version # For debugging - - pip install virtualenv - - virtualenv venv - - source venv/bin/activate + - python3 --version # For debugging + - python3 -m pip install --upgrade pip test: script: - - python setup.py test + - python3 setup.py test - pip install tox flake8 # you can also use tox - tox -e py36,flake8 run: script: - - python setup.py bdist_wheel - # an alternative approach is to install and run: - - pip install dist/* - # run the command here + - python3 -m pip install --upgrade build + - python3 -m build artifacts: paths: - dist/*.whl -- GitLab