From 496ef89afeac00db349a0738ba4186269b352446 Mon Sep 17 00:00:00 2001 From: Christine Kim <125395064+chkim-usgs@users.noreply.github.com> Date: Fri, 14 Jul 2023 13:59:28 -0700 Subject: [PATCH] Change region back to west-2 and test only ls --- .github/workflows/ci_testing.yml | 88 ++++++++++++++++---------------- 1 file changed, 45 insertions(+), 43 deletions(-) diff --git a/.github/workflows/ci_testing.yml b/.github/workflows/ci_testing.yml index 61a4e34cd..254608b99 100644 --- a/.github/workflows/ci_testing.yml +++ b/.github/workflows/ci_testing.yml @@ -23,55 +23,57 @@ jobs: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 with: submodules: true - - uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 - with: - miniconda-version: "latest" - activate-environment: ale - environment-file: environment.yml - auto-activate-base: false - auto-update-conda: true - python-version: ${{ matrix.python-version }} - - name: Check build environment - run: | - conda list - - name: Install Python Package - run: | - python setup.py install - - name: Test Python Package - run: | - pytest --cov-report=xml --cov=ale tests/pytests -vv - - name: Build C++ Package - run: | - mkdir -p build - cd build - cmake -DCMAKE_BUILD_TYPE=RELEASE -DCOVERAGE=ON .. - cmake --build . - - name: Test C++ Package - run: | - cd build - ctest -VV - - name: Upload Coverage - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: true - verbose: true - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' - - name: Build Docs - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' - run: | - conda install doxygen - cd docs - doxygen ./Doxyfile - make html SOURCEDIR=. +# - uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 +# with: +# miniconda-version: "latest" +# activate-environment: ale +# environment-file: environment.yml +# auto-activate-base: false +# auto-update-conda: true +# python-version: ${{ matrix.python-version }} +# - name: Check build environment +# run: | +# conda list +# - name: Install Python Package +# run: | +# python setup.py install +# - name: Test Python Package +# run: | +# pytest --cov-report=xml --cov=ale tests/pytests -vv +# - name: Build C++ Package +# run: | +# mkdir -p build +# cd build +# cmake -DCMAKE_BUILD_TYPE=RELEASE -DCOVERAGE=ON .. +# cmake --build . +# - name: Test C++ Package +# run: | +# cd build +# ctest -VV +# - name: Upload Coverage +# uses: codecov/codecov-action@v1 +# with: +# token: ${{ secrets.CODECOV_TOKEN }} +# fail_ci_if_error: true +# verbose: true +# if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' +# - name: Build Docs +# if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' +# run: | +# conda install doxygen +# cd docs +# doxygen ./Doxyfile +# make html SOURCEDIR=. - name: Set AWS credentials for upload uses: aws-actions/configure-aws-credentials@0e613a0980cbf65ed5b322eb7a1e075d28913a83 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 + aws-region: us-west-2 - name: Upload to S3 - run: aws s3 sync --delete docs/build s3://asc-public-docs/ale --no-sign-request + run: | + aws s3 ls s3://asc-public-docs + #aws s3 sync --delete docs/build s3://asc-public-docs/ale # Build-and-Test-Win: # runs-on: windows-2019