From 9839aa047524b57d73b3a388ebe87afb981e4860 Mon Sep 17 00:00:00 2001 From: Nathan Moore Date: Fri, 22 Dec 2023 11:50:23 -0700 Subject: [PATCH] temporarily run a very small CI config --- .github/workflows/ci.yml | 66 ++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 616bbc6e5..a103dae2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,36 +75,36 @@ jobs: env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} if: matrix.test_env == 'python' && matrix.os == 'ubuntu-latest' - run: poetry run pytest --doctest-modules -v -m 'not dymola' --cov-report term-missing --cov . ./tests - - name: Run Pytest (no compilation or simulation) - if: matrix.test_env == 'python' && matrix.os == 'windows-latest' - run: poetry run pytest --doctest-modules -v -m 'not simulation and not compilation and not dymola' ./tests - - name: Run pre-commit - uses: pre-commit/action@v3.0.0 - with: - extra_args: --all-files - - name: Run mypy - if: matrix.test_env =='mypy' - run: poetry run mypy --install-types --non-interactive --show-error-codes . - - name: Build docs - if: matrix.test_env == 'docs' - run: | - cd docs - poetry run make html - - name: Coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - if: ${{ matrix.os == 'ubuntu-latest' && matrix.test_env == 'python' }} - run: | - poetry run coveralls - - name: Job Failed - if: ${{ failure() }} - run: | - echo "Maybe these logs will help?" - ls -alt $GITHUB_WORKSPACE - find $GITHUB_WORKSPACE -type f -name 'stdout.log' -print | while read filename; do - echo "============================================ stdout.log =========================================" - echo "$filename" - cat "$filename" - done + run: poetry run pytest tests/model_connectors/test_district_single_ghe.py --doctest-modules -v -m 'not dymola' --cov-report term-missing --cov . ./tests + # - name: Run Pytest (no compilation or simulation) + # if: matrix.test_env == 'python' && matrix.os == 'windows-latest' + # run: poetry run pytest --doctest-modules -v -m 'not simulation and not compilation and not dymola' ./tests + # - name: Run pre-commit + # uses: pre-commit/action@v3.0.0 + # with: + # extra_args: --all-files + # - name: Run mypy + # if: matrix.test_env =='mypy' + # run: poetry run mypy --install-types --non-interactive --show-error-codes . + # - name: Build docs + # if: matrix.test_env == 'docs' + # run: | + # cd docs + # poetry run make html + # - name: Coveralls + # env: + # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # if: ${{ matrix.os == 'ubuntu-latest' && matrix.test_env == 'python' }} + # run: | + # poetry run coveralls + # - name: Job Failed + # if: ${{ failure() }} + # run: | + # echo "Maybe these logs will help?" + # ls -alt $GITHUB_WORKSPACE + # find $GITHUB_WORKSPACE -type f -name 'stdout.log' -print | while read filename; do + # echo "============================================ stdout.log =========================================" + # echo "$filename" + # cat "$filename" + # done