Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Merge pull request #57 from logux/logux_site_replace #105

Merge pull request #57 from logux/logux_site_replace

Merge pull request #57 from logux/logux_site_replace #105

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Lint and Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7, 3.8, 3.9 ]
django-version: [ 2.2, 3.0, 3.1 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies for Django-${{ matrix.django-version }}
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install
python -m pip install Django==${{ matrix.django-version }}
make install
- name: Lint with flake8, pylint and mypy
run: |
make lint
- name: Test
run: |
make ci_test
- uses: actions/setup-node@v1
with:
node-version: '14'
- name: Install Node and logux-backend tests deps
run: |
make lbt_deps
make integration_test_ci