Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/Test-CI-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ jobs:
python -m pip install -U pip
python -m pip install -U -r requirements.txt -r requirements_tests.txt

# Configure AWS credentials
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4.0.2
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
aws-region: us-east-1
mask-aws-account-id: true

- name: Install couenne solver
env:
COIN_DIST_URL: https://github.com/ampl/coin/releases/download/v20191215/coin-linux64.tar.gz
Expand All @@ -121,6 +113,14 @@ jobs:
#
# Setup Environment
#
# Configure AWS credentials
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4.0.2
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
aws-region: us-east-1
mask-aws-account-id: true

# Set authentication with M2M token
- name: Set authentication
run: .github/scripts/get_m2m_token.sh
Expand All @@ -147,7 +147,7 @@ jobs:

# Run Tests
- name: Run Notebooks (quick tests)
run: python -m pytest -c tests/config_quick_tests.ini --roordir=.
run: python -m pytest -c tests/config_quick_tests.ini --rootdir=.
env:
# to disable a warning in Jupyter notebooks
JUPYTER_PLATFORM_DIRS: "1"
Expand All @@ -159,7 +159,7 @@ jobs:
LIMIT_TEST_LINKS_TO_FILES_ONLY: "true"

- name: Run Notebooks (executing notebooks and testing content)
run: python -m pytest -c tests/config_notebook_execute_tests.ini --roordir=.
run: python -m pytest -c tests/config_notebook_execute_tests.ini --rootdir=.
env:
# to disable a warning in Jupyter notebooks
JUPYTER_PLATFORM_DIRS: "1"
Expand Down
Loading