Skip to content

Remove license declaration and rely instead on Trove classifiers and LICENSE being included. #11

Remove license declaration and rely instead on Trove classifiers and LICENSE being included.

Remove license declaration and rely instead on Trove classifiers and LICENSE being included. #11

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python_version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: ${{matrix.python_version}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if test -f test_requirements.txt; then pip install -r test_requirements.txt; fi
if test -f requirements.txt; then pip install -r requirements.txt; fi
- name: Install autocommand
run: |
pip install -e .
- name: Test with pytest
run: |
python3 -m pytest --cov autocommand --cov-report term-missing --cov-config .coveragerc --strict test