diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index d215ab6..cfd0341 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -1,4 +1,4 @@ -# This workflow will install Python dependencies and run unittests with a variety of Python versions +# This workflow will install Python dependencies and run unittests with 2 Python versions name: ci-django-unittests @@ -14,7 +14,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.9, 3.10] steps: - uses: actions/checkout@v3 @@ -22,10 +22,12 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Install pip dependencies run: | python -m pip install --upgrade pip - python -m pip install -r requirements.txt + - name: Install requirements dependencies + run: | + python -m pip install -r requirements.txt - name: Run unittests run: | serverurl=https://sparc1.datalab.noirlab.edu/ python -m unittest tests.tests_api