From 48eb989a0c43b453094259068c24b3aa4ddf84f6 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Sat, 2 Dec 2023 14:21:55 +0100 Subject: [PATCH] github-actions: fix pytest --- .github/workflows/actions.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 975d1af1..1d596a89 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -28,22 +28,20 @@ jobs: with: python-version: ${{ matrix.version }} - - name: Upgrade pip - run: pip install --upgrade pip - - - name: Install setuptools - run: pip install setuptools - - name: Install lib - run: python setup.py develop --user + run: | + pip install --upgrade pip + pip install setuptools + python setup.py develop --user - - name: Run pytest - run: pytest - - - name: Install wheel - run: pip install wheel + - name: pytest + run: | + pip install pytest + pytest - name: Build wheel - run: python setup.py wheel + run: | + pip install wheel + python setup.py wheel # TODO: add deploy job \ No newline at end of file