Update: newgrf/5f5f0409 (by JohnFranklin523) #2669
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@v2 | |
with: | |
repository: OpenTTD/bananas-api | |
ref: main | |
- name: Checkout BaNaNaS | |
uses: actions/checkout@v2 | |
with: | |
path: BaNaNaS | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Set up packages | |
run: | | |
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 |