Skip to content

fix: Don't attempt to install project inside virtualenv (#306) #617

fix: Don't attempt to install project inside virtualenv (#306)

fix: Don't attempt to install project inside virtualenv (#306) #617

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Setup Python 3.8
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8
- name: Install
run: |
pip install poetry
poetry install --no-root
- name: Format
run: |
poetry run black --check --diff linz_logger/*
- name: Lint
run: |
poetry run pylint linz_logger/*
- name: Import Sorting
run: |
poetry run isort --check --diff linz_logger/*
- name: Test
run: |
poetry run pytest