Update: newgrf/44545401 (by danttt) #3530
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |