From 3628e87c636b9d9d57fc4ed1c59f9c11a3458c11 Mon Sep 17 00:00:00 2001 From: "Vikrant Balyan (vvb)" Date: Thu, 28 Nov 2024 11:03:20 +0530 Subject: [PATCH] move unit tests from nose tests to pytest --- .github/workflows/main.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8a0f03c..3e88048 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -5,17 +5,20 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8, 3.9, 3.10] steps: - name: Check out code uses: actions/checkout@v2 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: - python-version: [3.6, 3.7, 3.8, 3.9, 3.10] + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt # Assumes you have a requirements.txt + pip install -r requirements.txt pip install -r requirements_dev.txt - name: Run tests run: |