Skip to content

move misplaced lint_and_test.yml #1

move misplaced lint_and_test.yml

move misplaced lint_and_test.yml #1

Workflow file for this run

name: Receive PR
# read-only repo token
# no access to secrets
on:
# Triggers the workflow on push events
push:
branches: [ develop, release/**, main, feature/**, issue/**, issues/** ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
# Sequence of patterns matched against refs/heads
branches:
- feature/**
- issue/**
- issues/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry
uses: abatilo/actions-poetry@v2.3.0
with:
poetry-version: 1.3.2
- name: Install concatenator
run: poetry install
- name: Lint
run: |
poetry run pylint concatenator
poetry run flake8 concatenator
- name: Test with pytest
run: |
poetry run pytest