From 50c5529fac3015066da18c355f73edddf07f3678 Mon Sep 17 00:00:00 2001 From: Ziheng Sun Date: Sun, 21 Jul 2024 02:16:29 -0400 Subject: [PATCH] use pytests --- .github/workflows/tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b04ecc2..517475c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,18 +21,18 @@ jobs: with: python-version: '3.9' # specify the Python version you need - - name: Install Poetry + - name: Install dependencies run: | - curl -sSL https://install.python-poetry.org | python3 - - export PATH="$HOME/.local/bin:$PATH" + python -m pip install --upgrade pip + pip install . - - name: Install dependencies + - name: Install pytest run: | - poetry install + pip install pytest - name: Run tests run: | - poetry run pytest tests/ + pytest tests/ - name: Upload pytest results if: always()