adapt to name of test runner script

This commit is contained in:
Jeff Epler 2021-08-20 19:15:27 -05:00
parent 8c8e04d25c
commit cbe997a1d5

View file

@ -60,12 +60,13 @@ jobs:
- name: Unit Test - name: Unit Test
run: | run: |
python -m jepler_udecimal.test python -m jepler_udecimal.test
if ! env MICROPYPATH=. PYTHONPATH=. MICROPY_MICROPYTHON=circuitpython/ports/unix/micropython circuitpython/tests/run-tests -d examples; then if ! env MICROPYPATH=. PYTHONPATH=. MICROPY_MICROPYTHON=circuitpython/ports/unix/micropython circuitpython/tests/run-tests.py -d examples; then
for exp in *.exp; do for exp in *.exp; do
testbase=$(basename $exp .exp); testbase=$(basename $exp .exp);
echo -e "\nFAILURE $testbase"; echo -e "\nFAILURE $testbase";
diff -u $testbase.exp $testbase.out; diff -u $testbase.exp $testbase.out;
done done
exit 1
fi fi
- name: Build assets - name: Build assets
run: circuitpython-build-bundles --package_folder_prefix jepler --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location . run: circuitpython-build-bundles --package_folder_prefix jepler --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .