1name: QA 2on: pull_request 3jobs: 4 qa: 5 name: Run QA checks 6 runs-on: ubuntu-latest 7 strategy: 8 matrix: 9 python-version: ["3.7", "3.8", "3.9", "3.10"] 10 steps: 11 - uses: actions/checkout@v2 12 - name: Set up Python ${{ matrix.python-version }} 13 uses: actions/setup-python@v2 14 with: 15 python-version: ${{ matrix.python-version }} 16 - name: Set up Node.js @latest 17 uses: actions/setup-node@v2 18 with: 19 node-version: 16 20 - name: Install the world 21 run: | 22 python -m pip install --upgrade pip wheel 23 pip install -r requirements.txt 24 pip install -r requirements_dev.txt 25 pip install -e . 26 npm i 27 - name: Run linting 28 run: | 29 make lint 30 - name: Run type checking 31 run: | 32 make check 33 - name: Run tests 34 run: make test 35