Add: [Dependabot] introduce Dependabot to keep our workflows up-to-da… #459
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: | |
testing: | |
name: Testing | |
uses: OpenTTD/actions/.github/workflows/rw-entry-testing-docker-py.yml@v4 | |
with: | |
python-path: master_server | |
python-version: 3.8 | |
regression: | |
name: Regression | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Set up packages | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.test | |
pip install -r requirements.txt | |
- name: Regression | |
shell: bash | |
run: | | |
PYTHONPATH=. pytest |