Skip to content

convert import es to import es6 #19

convert import es to import es6

convert import es to import es6 #19

Workflow file for this run

name: test_djelme
on:
push:
pull_request:
workflow_dispatch:
permissions:
checks: write
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
id: setup-py
with:
python-version: '3.7'
- run: pip install -U tox
- name: alias pythonX.Y for tox
run: alias python${{ steps.setup-py.outputs.python-version }}=${{ steps.setup-py.outputs.python-path }}
- run: TOXENV=lint tox
test:
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
django: ['1.11', '2.0', '2.1', '2.2', '3.0', '3.1', '3.2', '4.0', '4.1']
# TODO: elasticsearch: ['6', '7', '8', '9']
exclude:
- {python: '3.6', django: '4.0'}
- {python: '3.6', django: '4.1'}
- {python: '3.7', django: '4.0'}
- {python: '3.7', django: '4.1'}
- {python: '3.10', django: '1.11'}
- {python: '3.10', django: '2.0'}
runs-on: ubuntu-20.04
services:
elasticsearch:
image: elasticsearch:6.8.23
ports:
- 9201:9200
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
id: setup-py
with:
python-version: ${{ matrix.python }}
- run: pip install -U tox
- run: alias python${{ steps.setup-py.outputs.python-version }}=${{ steps.setup-py.outputs.python-path }}
- run: TOXENV=`echo 'py${{ matrix.python }}-django${{matrix.django}}' | sed 's/\.//g'` tox