Skip to content

fix: make sure select2 uses the width it has #167

fix: make sure select2 uses the width it has

fix: make sure select2 uses the width it has #167

Workflow file for this run

name: Django CI
on:
push:
branches: [ develop, master ]
pull_request:
branches: [ develop, master ]
jobs:
test:
name: Tests; Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
continue-on-error: true
strategy:
max-parallel: 2
matrix:
python-version: ['3.11']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies for Django
run: |
python -m pip install --upgrade pip
pip install wheel # Install wheel for packages using legacy install methods
pip install -e .[dev]
- name: Run Tests
working-directory: dev
run: |
python manage.py test
coverage:
name: Coverage; Python 3.9
runs-on: ubuntu-latest
continue-on-error: true
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
cache: pip
cache-dependency-path: dev/requirements.txt
- name: Install Dependencies for Django
run: |
python -m pip install --upgrade pip
pip install wheel # Install wheel for packages using legacy install methods
pip install -e .[dev]
- name: Install coverage.py
run: |
pip install coverage
- name: Run coverage
working-directory: dev
run: |
coverage run --source='..' manage.py test
- name: Create coverage output files
working-directory: dev
run: |
mkdir cov
coverage html --directory cov/html
coverage xml -o cov/cobertura.coverage.xml
coverage report > cov/report.txt
- name: Archive code coverage results
uses: actions/upload-artifact@v2
with:
name: code-coverage-report
path: dev/cov/