Skip to content

Update all dependencies #478

Update all dependencies

Update all dependencies #478

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
paths-ignore:
- '.github/**'
- '.gitattributes'
- '.gitignore'
- '**/*.md'
- 'LICENSE'
- 'renovate.json'
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pylint pylint-exit pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: Add pylint annotator
uses: pr-annotators/[email protected]
- name: Lint with flake8 and pylint
run: |
flake8 .
pylint PlexAniSync.py TautulliSyncHelper.py ./plexanisync || pylint-exit --error-fail --warn-fail $?
- run: pytest
build-docker-plexanisync:
needs: lint-and-test
uses: ./.github/workflows/build-docker-image.yml
with:
dockerfile: ./Docker/PlexAniSync/Dockerfile
imagename: ${{ github.repository_owner }}/plexanisync
eventname: ${{ github.event_name }}
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
secrets: inherit
build-docker-tautulli:
needs: build-docker-plexanisync
uses: ./.github/workflows/build-docker-image.yml
with:
dockerfile: ./Docker/Tautulli/Dockerfile
imagename: ${{ github.repository_owner }}/tautulli-plexanisync
eventname: ${{ github.event_name }}
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
secrets: inherit