Skip to content

Update: game-script/536d4347 (by Schmitt-DE) #3544

Update: game-script/536d4347 (by Schmitt-DE)

Update: game-script/536d4347 (by Schmitt-DE) #3544

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