Skip to content

disable --failfast so we can check all failure #1366

disable --failfast so we can check all failure

disable --failfast so we can check all failure #1366

Workflow file for this run

name: Run unittests
on:
- push
- pull_request
jobs:
build:
runs-on:
group: Default
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@master
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install -U --pre deepmd-kit --extra-index-url https://deepmodeling.github.io/deepmd-kit/simple
pip install -e .
pip install -r tests/requirements.txt
- name: Test
run: DEVICE=cpu PREPROCESS_DEVICE=cpu DISABLE_TQDM=True coverage run --source=./deepmd_pt -m unittest -v && coverage report
- uses: codecov/codecov-action@v3