Skip to content

add --always-reprint flag #29

add --always-reprint flag

add --always-reprint flag #29

Workflow file for this run

name: test and lint
on:
pull_request:
paths:
- 'zscroll'
- '**.py'
- '**test.yml'
- 'poetry.lock'
push:
paths:
- 'zscroll'
- '**.py'
- '**test.yml'
- 'poetry.lock'
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9]
poetry-version: [1.1.7]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: make deps
- name: Test
run: make test-cov
- name: Upload coverage to codecov
if: ${{ matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest' }}
uses: codecov/codecov-action@v2
with:
files: ./.coverage
lint:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.1.7]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: make deps
- name: Lint
run: make lint