Skip to content

Commit

Permalink
Now let's restore the original configuration, what might happen next.
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-paul-mueller committed Feb 11, 2025
1 parent 6c389c6 commit 39c4621
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 47 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/fpga-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
# and overflowed in the year 2022, run the FPGA tests pretending like it's January 1st 2021.
# faketime -f "@2021-01-01 00:00:00" pytest -n auto --cov-report=xml --cov=dace --tb=short -m "fpga"
# Try running without faketime
#pytest -n auto --cov-report=xml --cov=dace --tb=short -m "fpga"
pytest -n auto --cov-report=xml --cov=dace --tb=short -m "fpga"
#coverage report
#coverage xml
#reachable=0
#ping -W 2 -c 1 codecov.io || reachable=$?
#if [ $reachable -eq 0 ]; then
# ./codecov
#else
# echo "Codecov.io is unreachable"
#fi
#killall -9 xsim xsimk || true
coverage report
coverage xml
reachable=0
ping -W 2 -c 1 codecov.io || reachable=$?
if [ $reachable -eq 0 ]; then
./codecov
else
echo "Codecov.io is unreachable"
fi
killall -9 xsim xsimk || true
14 changes: 5 additions & 9 deletions .github/workflows/general-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
else
export DACE_optimizer_automatic_simplification=${{ matrix.simplify }}
fi
#pytest -n 1 --cov-report=xml --cov=dace --tb=short -m "lapack"
#./codecov
pytest -n 1 --cov-report=xml --cov=dace --tb=short -m "lapack"
./codecov
- name: Run other tests
run: |
Expand All @@ -82,13 +82,9 @@ jobs:
export DACE_cache=single
export DACE_optimizer_automatic_simplification=${{ matrix.simplify }}
export PYTHON_BINARY="coverage run --source=dace --parallel-mode"
if test -x ./tests/polybench_test.sh ; then
./tests/polybench_test.sh
fi
if test -x ./tests/xform_test.sh ; then
./tests/xform_test.sh
fi
#coverage combine .; coverage report; coverage xml
./tests/polybench_test.sh
./tests/xform_test.sh
coverage combine .; coverage report; coverage xml
- uses: codecov/codecov-action@v4
with:
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/gpu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,17 @@ jobs:
export DACE_cache=single
export COVERAGE_RCFILE=`pwd`/.coveragerc
export PYTHON_BINARY="coverage run --source=dace --parallel-mode"
if test -x ./tests/cuda_test.sh ; then
./tests/cuda_test.sh
fi
./tests/cuda_test.sh
- name: Report overall coverage
run: |
source ~/.venv/bin/activate # activate venv
#export COVERAGE_RCFILE=`pwd`/.coveragerc
#coverage combine . */; coverage report; coverage xml
#reachable=0
#ping -W 2 -c 1 codecov.io || reachable=$?
#if [ $reachable -eq 0 ]; then
# ./codecov
#else
# echo "Codecov.io is unreachable"
#fi
export COVERAGE_RCFILE=`pwd`/.coveragerc
coverage combine . */; coverage report; coverage xml
reachable=0
ping -W 2 -c 1 codecov.io || reachable=$?
if [ $reachable -eq 0 ]; then
./codecov
else
echo "Codecov.io is unreachable"
fi
30 changes: 15 additions & 15 deletions .github/workflows/heterogeneous-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: |
source ~/.venv/bin/activate # activate venv
export DACE_cache=unique
#pytest --cov-report=xml --cov=dace --tb=short -m "verilator or mkl or papi or datainstrument"
pytest --cov-report=xml --cov=dace --tb=short -m "verilator or mkl or papi or datainstrument"
- name: Run MPI tests
run: |
Expand All @@ -53,7 +53,7 @@ jobs:
export COVERAGE_RCFILE=`pwd`/.coveragerc
export PYTHON_BINARY="coverage run --source=dace --parallel-mode"
source ~/.venv/bin/activate # activate venv
#./tests/mpi_test.sh
./tests/mpi_test.sh
- name: Test MPI with pytest
Expand All @@ -63,7 +63,7 @@ jobs:
export DACE_testing_deserialize_exception=1
export DACE_cache=unique
source ~/.venv/bin/activate # activate venv
#mpirun -n 2 coverage run --source=dace --parallel-mode -m pytest -x --with-mpi --tb=short -m "mpi"
mpirun -n 2 coverage run --source=dace --parallel-mode -m pytest -x --with-mpi --tb=short -m "mpi"
- name: Test ScaLAPACK PBLAS with pytest
run: |
Expand All @@ -73,20 +73,20 @@ jobs:
export DACE_cache=unique
export DACE_library_pblas_default_implementation=ReferenceOpenMPI
source ~/.venv/bin/activate # activate venv
#for i in {1..4}
#do
# mpirun -n "$i" --oversubscribe coverage run --source=dace --parallel-mode -m pytest -x --with-mpi --tb=short -m "scalapack"
#done
for i in {1..4}
do
mpirun -n "$i" --oversubscribe coverage run --source=dace --parallel-mode -m pytest -x --with-mpi --tb=short -m "scalapack"
done
- name: Report overall coverage
run: |
export COVERAGE_RCFILE=`pwd`/.coveragerc
source ~/.venv/bin/activate # activate venv
#coverage combine . */; coverage report; coverage xml
#reachable=0
#ping -W 2 -c 1 codecov.io || reachable=$?
#if [ $reachable -eq 0 ]; then
# ./codecov
#else
# echo "Codecov.io is unreachable"
#fi
coverage combine . */; coverage report; coverage xml
reachable=0
ping -W 2 -c 1 codecov.io || reachable=$?
if [ $reachable -eq 0 ]; then
./codecov
else
echo "Codecov.io is unreachable"
fi

0 comments on commit 39c4621

Please sign in to comment.