Skip to content

Update

Update #1315

Workflow file for this run

---
name: Update
on: # yamllint disable-line rule:truthy
schedule:
- cron: 11 7 * * *
workflow_dispatch:
jobs:
Update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
# All these steps are required so that mypy behaves equally than the
# local environment, once mypy supports __pypackages__ try to use the
# github action
pip install virtualenv pdm
virtualenv .venv
source .venv/bin/activate
pdm config python.use_venv True
- name: Update requirements
run: make update-production
- name: Install the program
run: make install
- name: Run tests
run: make all