1 name: ci 2 on: 3 push: 4 pull_request: 5 schedule: 6 - cron: '0 0 * * *' 7 jobs: 8 test: 9 runs-on: ubuntu-latest 10 strategy: 11 matrix: 12 python-version: [3.6, 3.7, 3.8, 3.9] 13 fail-fast: false 14 steps: 15 - uses: actions/checkout@v2 16 - name: Set up Python ${{ matrix.python-version }} 17 uses: actions/setup-python@v2 18 with: 19 python-version: ${{ matrix.python-version }} 20 - name: Install dev dependencies 21 run: | 22 python -m pip install --upgrade pip 23 pip install pytest 24 - name: Test with pytest 25 run: | 26 pytest