⚡️ Speed up method BashJob.__eq__
by 26%
#39
This file contains hidden or 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: Python package | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.6, 3.7, 3.8, 3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 pre-commit | |
pip install -r requirements.txt | |
pip install tox pytest | |
- name: Lint with pre-commit | |
run: pre-commit run --all-files | |
- name: Testing on python ${{ matrix.python-version }} with tox | |
run: tox -e py | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 |