Skip to content

Update: newgrf/414b3031 (by Auxiliatrix) #3517

Update: newgrf/414b3031 (by Auxiliatrix)

Update: newgrf/414b3031 (by Auxiliatrix) #3517

Workflow file for this run

name: Testing
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
linter:
name: Linter
runs-on: ubuntu-latest
steps:
- name: Checkout bananas-api
uses: actions/checkout@v4
with:
repository: OpenTTD/bananas-api
ref: main
- name: Checkout BaNaNaS
uses: actions/checkout@v4
with:
path: BaNaNaS
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Set up packages
run: |
sudo apt install --no-install-recommends -y libpng-dev
python -m pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
- name: Linting
run: |
python -m bananas_api --storage local --index local --user developer --validate