This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
Switch to MongoDB server 5.0 compatibility #127
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 | |
env: | |
LOGGING_CONF_FILE: ./sample_logging.conf | |
jobs: | |
lint_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8 ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup virtual env | |
run: | | |
make create_venv | |
. ./venv/bin/activate | |
make upgrade_pip install_dep | |
make check_dep | |
- name: Pylinting | |
run: | | |
source ./venv/bin/activate | |
make pylint | |
- name: Unit Tests and coverage | |
run: | | |
source ./venv/bin/activate | |
make test_cov |