Skip to content

[CI/CD] New python coverage test for CI #44

[CI/CD] New python coverage test for CI

[CI/CD] New python coverage test for CI #44

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: op-unit-test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
container-unit-test:
runs-on: [self-hosted, docker]
container:
image: localhost:5000/flag-gems-ci:v1.0
ports:
- 81
options: --gpus all --hostname flag-gems_cicd_ut
steps:
- name: checkout-code
uses: actions/checkout@v4
- name: check-gpu-free
shell: bash
run: tools/gpu_check.sh
- name: unit_test-flag-gems
shell: bash
run: tools/op-unit-test.sh