File: test.yml

package info (click to toggle)
python-django-crum 0.7.9-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: python: 449; makefile: 221
file content (34 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---

name: test

on:
  push:
  pull_request:
  schedule:
    - cron: '0 9 9 * *'

defaults:
  run:
    shell: bash

jobs:
  test-tox:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install requirements
        run: |
          python -m pip install -U pip
          python -m pip install -U setuptools
          make requirements
      - name: Test with Tox
        run: tox