Skip to content

check changes

check changes #578

Workflow file for this run

# 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 (2.7)
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@v4
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