Skip to content

upd: readme

upd: readme #20

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
privoxy:
strategy:
matrix:
privoxy_version: [3.0.34]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v3
with:
path: |
.venv
.cache
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Switch to current branch
run: git checkout ${{ env.BRANCH }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.3.1
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run pytest
run: poetry run pytest --privoxy-version ${{ matrix.privoxy_version }} --no-cache -v