Skip to content

Commit

Permalink
Change region back to west-2 and test only ls
Browse files Browse the repository at this point in the history
  • Loading branch information
chkim-usgs authored Jul 14, 2023
1 parent 65dde55 commit 496ef89
Showing 1 changed file with 45 additions and 43 deletions.
88 changes: 45 additions & 43 deletions .github/workflows/ci_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 496ef89

Please sign in to comment.