Add Mendoza #235
Workflow file for this run
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
# There are still parts of the project using python2.7 so it's a good idea | |
# to check if it works at all | |
name: pybikes | |
env: | |
PYBIKES_CYCLOCITY: ${{ secrets.PYBIKES_CYCLOCITY }} | |
PYBIKES_BYSYKKEL: ${{ secrets.PYBIKES_BYSYKKEL }} | |
PYBIKES_WEELO_CLIENT_ID: ${{ secrets.PYBIKES_WEELO_CLIENT_ID }} | |
PYBIKES_WEELO_CLIENT_SECRET: ${{ secrets.PYBIKES_WEELO_CLIENT_SECRET }} | |
PYBIKES_DEUTSCHEBAHN_CLIENT_ID: ${{ secrets.PYBIKES_DEUTSCHEBAHN_CLIENT_ID }} | |
PYBIKES_DEUTSCHEBAHN_CLIENT_SECRET: ${{ secrets.PYBIKES_DEUTSCHEBAHN_CLIENT_SECRET }} | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
name: test (2.7) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 2.7 | |
uses: MatteoH2O1999/setup-python@v1 | |
with: | |
python-version: '2.7' | |
allow-build: info | |
cache-build: true | |
- name: Install dependencies | |
run: make install | |
- name: lint | |
run: make lint | |
- name: test | |
run: make test | |
- name: test update | |
run: | | |
# allowed to fail for test runs | |
make test-update T_FLAGS+='-n 10' || true |