diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74a6b963..e951a38c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,16 +37,23 @@ jobs: django-version: ["3.2"] oscar-version: ["3.2"] steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} + - name: Download src dir + uses: actions/download-artifact@v2 + with: + name: src + path: ./src + - name: Setup Python 3.x uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies + python-version: ${{ matrix.python-version }} + - name: Install all dependencies run: | + pip install -e .[dev] pip install "django~=${{ matrix.django-version }}.0" pip install "django-oscar~=${{ matrix.oscar-version }}.0" make install + - name: Show all versions + run: pip list - name: Run the testsuite run: | coverage run --parallel sandbox/manage.py test oscarapi --settings=sandbox.settings.block_admin_api_true