Skip to content

Commit

Permalink
Rework CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ymwangg committed Jul 7, 2023
1 parent 210c0b5 commit 7cf4b33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ setup_fx2ait_env: &setup_fx2ait_env
sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*
python3.8 -m pip install --ignore-installed --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118
pushd fx2ait
python3.8 setup.py develop
sudo python3.8 setup.py install
popd
break || sleep 5;
done
Expand All @@ -79,10 +79,8 @@ fx2ait_tests: &fx2ait_tests
command: |
source $BASH_ENV
mkdir -p ~/test-fx2ait-results
pushd fx2ait/fx2ait/test
TEST_FILES=$(circleci tests glob "test_*.py" "converters/**/test_*.py")
TEST_FILES=$(circleci tests glob "fx2ait/fx2ait/test/test_*.py" "fx2ait/fx2ait/test/converters/**/test_*.py")
python3.8 -m pytest $TEST_FILES -o junit_family=xunit1 --junitxml=~/test-fx2ait-results/junit.xml --verbose --continue-on-collection-errors -rA
popd
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
Expand Down

0 comments on commit 7cf4b33

Please sign in to comment.