use the c3 v2 api to do hardware transfer to cert lab (#81) #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is for PC Tool, transfer-hw-to-cert | |
name: Test transfer-hw-to-cert Tool | |
on: | |
push: | |
paths: ['Tools/PC/transfer-hw-to-cert/**'] | |
pull_request: | |
paths: ['Tools/PC/transfer-hw-to-cert/**'] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
python-version: ["3.9", "3.10"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Test with unittest | |
run: | | |
python -m unittest -v | |
working-directory: ./Tools/PC/transfer-hw-to-cert |