8000 fix issue #329 · django-ordered-model/django-ordered-model@85908ac · GitHub
[go: up one dir, main page]

Skip to content

fix issue #329

fix issue #329 #245

Workflow file for this run

name: Test and coverage
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
include:
- pip-trusted-host: ''
# Relax security checks for Python 3.5 only. (https://github.com/actions/setup-python/issues/866)
- python-version: '3.5'
pip-trusted-host: 'pypi.python.org pypi.org files.pythonhosted.org'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
env:
PIP_TRUSTED_HOST: ${{ matrix.pip-trusted-host }}
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
# - name: Upload coverage.xml
# if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.9' }}
# uses: actions/upload-artifact@v2
# with:
# name: django-ordered-model-coverage
# path: coverage.xml
# if-no-files-found: error
# - name: Upload coverage.xml to codecov
# if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.9' }}
# uses: codecov/codecov-action@v1
0