Skip to content

Update: newgrf/45746e01 (by Etneus95) #3648

Update: newgrf/45746e01 (by Etneus95)

Update: newgrf/45746e01 (by Etneus95) #3648

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.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- 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