Skip to content

Commit

Permalink
Modify testing action
Browse files Browse the repository at this point in the history
  • Loading branch information
mandli committed May 10, 2024
1 parent 84c0b37 commit aea3072
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,28 @@ permissions:
contents: read

env:
TEST: ${{ github.workspace }}
CLAW: ${{ github.workspace }}/clawpack

jobs:
build:
runs-on: ubuntu-latest
steps:
# - name: Set up Python 3.10
# uses: actions/setup-python@v5
# with:
# python-version: "3.10"
# - name: Install dependencies
# run: |
# sudo apt-get update
# sudo apt-get install gfortran liblapack-pic liblapack-dev libnetcdf-dev libnetcdff-dev
# python -m pip install --upgrade pip
# pip install flake8 pytest

- name: Testing
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
echo $GITHUB_WORKSPACE
export CLAW="$GITHUB_WORKSPACE/clawpack"
sudo apt-get update
sudo apt-get install gfortran liblapack-pic liblapack-dev libnetcdf-dev libnetcdff-dev
python -m pip install --upgrade pip
pip install flake8 pytest
# - name: Testing
# run: |
# echo $GITHUB_WORKSPACE
echo $CLAW
echo $TEST

- name: Checkout clawpack
uses: actions/checkout@v4.1.5
Expand All @@ -50,9 +49,7 @@ jobs:
- name: Install clawpack
run: |
cd $CLAW
# pip install --user -e $CLAW


pip install --user -e $CLAW
# - name: Lint with flake8
# run: |
Expand Down

0 comments on commit aea3072

Please sign in to comment.