Skip to content

Ensure that we use provided username and give correct error message #298

Ensure that we use provided username and give correct error message

Ensure that we use provided username and give correct error message #298

Workflow file for this run

name: CI
on:
- push
- pull_request
concurrency:
group: ci-${{ github.ref }}-${{ github.sha }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
github-action-ci:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- python_version: "3.10"
toxenv: "py310-django32"
- python_version: 3.11
toxenv: "py311-django32"
- python_version: "3.10"
toxenv: "py310-django40"
- python_version: 3.11
toxenv: "py311-django40"
- python_version: "3.10"
toxenv: "lint"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
architecture: "x64"
- name: Install APT requirements
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends gdal-bin libgdal-dev
sudo rm -rf /var/lib/apt/lists/*
- name: Install tox
run: |
pip install -U pip
pip install tox
- name: Run tests
run: tox
env:
TOXENV: ${{ matrix.toxenv }}