Update dependency mkdocs to v1.6.1 #159
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: TestingPythonPackage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Setup ssh_config_json | |
run: | | |
python setup.py install | |
- name: Test with pytest | |
env: | |
GITHUB_TOKEN: ${{ secrets.github_token }} | |
run: | | |
pip install pytest | |
pip install -r requirements-test.txt | |
coverage run --source=ssh_config_json -m pytest --it | |
coverage report -m | |
mkdir -p coverage | |
coveralls | |
- name: Lint check | |
run: | | |
black ssh_config_json setup.py --check |