Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ci-python.yml « workflows « .github - github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0603861d10d1c56070b5f1d043482ddff822c50d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
name: Python CI
on: pull_request

jobs:
  python-build:
    name: Python Build
    runs-on: ubuntu-latest
    container: fedora:latest
    steps:
      - uses: actions/checkout@v2

      - name: Install dependencies
        run: |
          sudo dnf -y install dnf-plugins-core python3-pip
          sudo dnf -y builddep createrepo_c.spec
          pip install --upgrade pip
          pip install pytest

      - name: Compile and Install
        run: pip install .

      - name: Test
        run: pytest --verbose --color=yes tests/python/tests/