Skip to content

Pass count as keyword argument to re.sub() #194

Pass count as keyword argument to re.sub()

Pass count as keyword argument to re.sub() #194

Workflow file for this run

name: "FileCheck.py on Linux"
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to PATH
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run tests
run: |
poetry run invoke check