File: default.yml

package info (click to toggle)
aiodogstatsd 0.16.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296 kB
  • sloc: python: 1,080; makefile: 70; sh: 19
file content (30 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (3)
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
name: default

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        python-version: [3.7, 3.8, 3.9, "3.10"]

      fail-fast: true

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - uses: Gr1N/setup-poetry@v7
        with:
          poetry-version: 1.1.12
      - run: make install-deps
      - run: make lint
        if: matrix.python-version == 3.10
      - run: make test
      - uses: codecov/codecov-action@v1
        if: matrix.python-version == 3.10
        with:
          token: ${{ secrets.CODECOV_TOKEN }}