File: ci.yml

package info (click to toggle)
python-django-compressor 4.5.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,124 kB
  • sloc: python: 4,906; makefile: 123; javascript: 5
file content (51 lines) | stat: -rw-r--r-- 1,140 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CI

on:
  push:
    branches:
      - develop
      - master
  pull_request:

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        versions:
          - python: 3.8
            toxenv: py38-4.2.X
          - python: 3.9
            toxenv: py39-4.2.X
          - python: "3.10"
            toxenv: py310-4.2.X
          - python: "3.11"
            toxenv: py311-4.2.X

          - python: "3.10"
            toxenv: py310-5.0.X
          - python: "3.11"
            toxenv: py311-5.0.X
          - python: "3.12"
            toxenv: py312-5.0.X

          - python: "3.10"
            toxenv: py310-5.1.X
          - python: "3.11"
            toxenv: py311-5.1.X
          - python: "3.12"
            toxenv: py312-5.1.X

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.versions.python }}
      - run: |
          pip install tox setuptools
          python setup.py install_egg_info
      - run: tox -e ${{ matrix.versions.toxenv }}
      - run: |
          pip install codecov
          codecov