File: push-pr-unit-tests.yml

package info (click to toggle)
labgrid 25.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,796 kB
  • sloc: python: 21,352; sh: 846; makefile: 35
file content (25 lines) | stat: -rw-r--r-- 759 bytes parent folder | download
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
name: unit tests

on: [push, pull_request, workflow_dispatch]

jobs:
  push-pr-unit-tests:
    name: unit tests
    strategy:
      fail-fast: false
      matrix:
        python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
    uses: ./.github/workflows/reusable-unit-tests.yml
    secrets:
      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
    with:
      python-version: ${{ matrix.python-version }}
  push-pr-unit-tests-docker:
    name: Docker Unit Tests
    uses: ./.github/workflows/reusable-unit-tests-docker.yml
  build-and-release:
    name: Release to Pypi
    needs: push-pr-unit-tests
    if: github.event_name == 'push' && github.repository == 'labgrid-project/labgrid'
    uses: ./.github/workflows/build-and-release.yml
    secrets: inherit