Skip to content

Fix the python session to return correct error message when invalid session for MI drivers #1260

Fix the python session to return correct error message when invalid session for MI drivers

Fix the python session to return correct error message when invalid session for MI drivers #1260

name: nimibot_win_64
on:
pull_request:
branches:
- master
- releases/*
paths-ignore:
- CHANGELOG.md
- CONTRIBUTING.md
- .gitattributes
- LICENSE
- VERSION
types:
- opened
- synchronize
- reopened
# For this action, also trigger on a merge to master, because
# the coverage badge tracks coverage of master, not PRs.
# Doing this for windows_python32 and rhel_python64 is unlikely to
# add any coverage, so don't bother triggering those on pushes to master.
push:
branches:
- master
paths-ignore:
- CHANGELOG.md
- CONTRIBUTING.md
- .gitattributes
- LICENSE
- VERSION
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
do-the-job1:
name: system_test
if: github.repository == 'ni/nimi-python'
runs-on:
- self-hosted
- windows
- x64
- rdss-nimibot-win-10-py64
timeout-minutes: 80
strategy:
matrix:
module_name:
- nidigital
- nitclk
- nifgen
- nidcpower
- nidmm
- nirfsg
- niscope
- nimodinst
- nise
- niswitch
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: execute system tests
uses: ./.github/actions/windows
with:
module_name: ${{ matrix.module_name }}
- name: upload coverage
uses: codecov/codecov-action@v3
with:
# See ../PUBLIC_CODECOV_TOKEN_README.md
token: 4c58f03d-b74c-489a-889a-ab0a77b7809f
flags: ${{ matrix.module_name }}systemtests
name: ${{ matrix.module_name }}
files: ./generated/${{ matrix.module_name }}/coverage.xml