diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 51bc542..c78d71d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -20,15 +20,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ python-version }} uses: actions/setup-python@v3 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install -r requirements.txt + pip install -r requirements_ci.txt - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -38,13 +39,14 @@ jobs: - name: Test with pytest run: | pytest --cov=PyNomaly + test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 @@ -56,7 +58,8 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install -r requirements.txt + pip install -r requirements_ci.txt - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names