mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-04-28 22:20:59 +00:00
adjust ci settings to match pretalx settings
This commit is contained in:
parent
a425caa211
commit
6d58ba7feb
2 changed files with 44 additions and 8 deletions
24
.github/workflows/style.yml
vendored
24
.github/workflows/style.yml
vendored
|
@ -61,6 +61,30 @@ jobs:
|
|||
- name: Run flake8
|
||||
run: flake8 .
|
||||
working-directory: .
|
||||
black:
|
||||
name: black
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install gettext
|
||||
run: sudo apt install gettext
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
- name: Install pretalx
|
||||
run: pip3 install pretalx
|
||||
- name: Install Dependencies
|
||||
run: pip3 install black -Ue .
|
||||
- name: Run black
|
||||
run: black --check .
|
||||
working-directory: .
|
||||
docformatter:
|
||||
name: docformatter
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue