Skip to content

Filter list_measurement by versions #103

Filter list_measurement by versions

Filter list_measurement by versions #103

Workflow file for this run

name: Run mypy on API
on:
pull_request:
paths:
- 'api/**'
jobs:
test:
runs-on: ubuntu-latest
container: debian:11
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup APT
run: |
apt-get update
apt-get install --no-install-recommends -y ca-certificates gnupg
echo "deb http://deb-ci.ooni.org unstable main" >> /etc/apt/sources.list
apt-key adv --verbose --keyserver hkp://keyserver.ubuntu.com --recv-keys "B5A08F01796E7F521861B449372D1FF271F2DD50"
- name: Install dependencies
run: |
apt-get update
apt-get install --no-install-recommends -qy mypy
- name: Run tests
# see the mypy.ini file
run: cd api && mypy **/*.py