Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Update django.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesalice authored Aug 23, 2024
1 parent 93a56a1 commit 3805eea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -14,18 +14,20 @@ 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
- name: Set up Python ${{ matrix.python-version }}
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

0 comments on commit 3805eea

Please sign in to comment.