Skip to content

Merge pull request #42 from FlagOpen/dev_zb #12

Merge pull request #42 from FlagOpen/dev_zb

Merge pull request #42 from FlagOpen/dev_zb #12

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: flag-gems-test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
container-test-job:
runs-on: [self-hosted, docker]
container:
image: localhost:5000/flag-gems-ci:v1.0
ports:
- 80
options: --gpus all --hostname flag-gems_cicd
steps:
- name: checkout-code
uses: actions/checkout@v2
- name: unit_test-flag-gems
run: |
pytest -s tests/test_*
- name: benchmark-flag-gems
run: |
pytest -s benchmark/test_*
- name: examples-flag-gems
run: |
pytest -s examples/model_*