Skip to content

feat: Publication Type Filter (#4) #13

feat: Publication Type Filter (#4)

feat: Publication Type Filter (#4) #13

Workflow file for this run

name: FRP
on:
workflow_dispatch:
push:
paths:
- 'packages/frp/**'
branches:
- main
tags:
- "v*.*.*"
pull_request:
paths:
- 'packages/frp/**'
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
name: Check for Linting Errors
defaults:
run:
working-directory: packages/frp
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Lint
run: poetry run flake8
build:
runs-on: ubuntu-latest
name: Build
defaults:
run:
working-directory: packages/frp
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Build
run: poetry build
type-checking:
runs-on: ubuntu-latest
name: Run Type Checking
defaults:
run:
working-directory: packages/frp
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Type Checking
run: poetry run mypy frp/