Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Jul 6, 2022
1 parent d2186a4 commit a519571
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docs
name: Build documentation

on:
push:
Expand Down
30 changes: 13 additions & 17 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,24 @@ on:
- "**.py"

jobs:
lint:
runs-on: ubuntu-latest
windows:
runs-on: windows-latest
strategy:
matrix:
versions:
- 59
python-version:
- "3.10"

steps:
- uses: actions/checkout@v2
- name: Setup Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install VapourSynth
uses: Irrational-Encoding-Wizardry/install-vapoursynth-action@v0.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
version: latest
cache: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
id: dependencies
run: |
python3 -m pip install --upgrade pip
pip install vapoursynth-portable==${{ matrix.versions }}
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install .
- name: Running flake8
run: flake8 lvsfunc
- name: Running mypy
if: steps.dependencies.outcome == 'success'
run: mypy -p lvsfunc
4 changes: 1 addition & 3 deletions .github/workflows/pypipublish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Publish releases to PyPI
on:
push:
branches:
- master
tags:
- v[0-9]+**

Expand Down Expand Up @@ -43,4 +41,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit a519571

Please sign in to comment.