Skip to content

Commit

Permalink
move to am-12
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpus committed Feb 6, 2022
1 parent 4f25387 commit 08b9a44
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ am12:
cd am-12.0/src && make serial && ./am -v

test:
AM=am-11.0/src/am PYTHONPATH=. pytest -v -v
AM=am-12.0/src/am PYTHONPATH=. pytest -v -v

test_coverage:
AM=am-11.0/src/am PYTHONPATH=. pytest --cov-report=xml --cov=eht_met_forecast -v -v
AM=am-12.0/src/am PYTHONPATH=. pytest --cov-report=xml --cov=eht_met_forecast -v -v
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
displayName: 'install OS packages'
- script: |
make am11
displayName: 'install am-11.0'
make am12
displayName: 'install am-12.0'
- script: |
python -m pip install --upgrade pip
Expand All @@ -44,7 +44,7 @@ jobs:
- script: |
pip install pytest-azurepipelines
export AM=./am-11.0/src/am
export AM=./am-12.0/src/am
$AM -v
PYTHONPATH=. pytest --cov-report=xml --cov=eht_met_forecast -v -v
coverage report -m
Expand Down Expand Up @@ -79,8 +79,8 @@ jobs:
displayName: 'install OS packages'
- script: |
make am11
displayName: 'install am-11.0'
make am12
displayName: 'install am-12.0'
- script: |
# see brew above for where OS packages are installed
Expand All @@ -92,7 +92,7 @@ jobs:
- script: |
pip install pytest-azurepipelines
export AM=./am-11.0/src/am
export AM=./am-12.0/src/am
$AM -v
touch tests/__init.py__
PYTHONPATH=. pytest --cov-report=xml --cov=eht_met_forecast -v -v
Expand Down
2 changes: 1 addition & 1 deletion weatherwrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# it is important for the above line to be bash and not sh

. ~/venv/eht-met-forecast/bin/activate
export AM=./am-11.0/src/am
export AM=./am-12.0/src/am

cd ~/github/eht-met-forecast

Expand Down

0 comments on commit 08b9a44

Please sign in to comment.