This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Update pylint requirement from ==2.12.* to >=2.12,<3.1 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
lint_and_test: | |
name: Linting and Testing | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ 3.6, 3.7, 3.8, 3.9 ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build PG DB container | |
run: make start_db | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup virtual environment | |
run: make venv | |
- name: Pylinting | |
run: make pylint | |
- name: Tests | |
env: | |
TAP_POSTGRES_HOST: localhost | |
TAP_POSTGRES_PORT: 5432 | |
TAP_POSTGRES_USER: test_user | |
TAP_POSTGRES_PASSWORD: my-secret-passwd | |
TAP_POSTGRES_SECONDARY_HOST: localhost | |
TAP_POSTGRES_SECONDARY_PORT: 5433 | |
LOGGING_CONF_FILE: ./sample_logging.conf | |
run: make test |