# This file is part of convertdate. # http://github.com/fitnr/convertdate # Licensed under the MIT license: # http://opensource.org/licenses/MIT # Copyright (c) 2021, fitnr name: convertdate on: push: pull_request: branches: [master] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8, 3.9, "3.10.0"] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: setup.cfg - name: Install run: | python -m pip install --upgrade pip wheel pip install ".[tests]" - name: Test run: make cov pylint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: 3.9 cache: 'pip' cache-dependency-path: setup.cfg - name: Install run: | python -m pip install --upgrade pip pylint pip install . - name: Pylint run: make pylint