2 name: Continuous Integration
6 runs-on: ${{ matrix.os }}
10 python-version: ['3.5', '3.6', '3.7', '3.8', '3.9']
14 installTyping: ${{ true }}
19 uses: actions/checkout@v2
21 - name: Set up Python ${{ matrix.python-version }}
22 uses: actions/setup-python@v2
24 python-version: ${{ matrix.python-version }}
27 uses: actions/cache@v2
29 # This path is specific to Ubuntu
31 # Look to see if there is a cache hit for the corresponding requirements file
32 key: v1-pip-${{ runner.os }}-${{ matrix.python-version }}
34 v1-pip-${{ runner.os }}
37 - name: Install dependencies
39 gem install --user-install coveralls-lcov
43 - name: Install typing for old Python
44 run: pip install typing
45 if: matrix.installTyping
47 - name: Build the code
48 run: python ./setup.py build_ext -i
51 run: python -m pytest tests