diff --git a/.github/workflows/dev_ci_cd.yml b/.github/workflows/dev_ci_cd.yml index d3c7244..a4d8610 100644 --- a/.github/workflows/dev_ci_cd.yml +++ b/.github/workflows/dev_ci_cd.yml @@ -15,25 +15,23 @@ jobs: python-version: ["3.10"] steps: - - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - - name: Set GOOGLE_APPLICATION_USER env - run: echo "GOOGLE_APPLICATION_USER=$(echo $GOOGLE_APPLICATION_USER | cut -c 1-6)" >> $GITHUB_ENV - - name: Set GOOGLE_APPLICATION_CREDENTIALS env - run: echo "GOOGLE_APPLICATION_CREDENTIALS=$(echo $GOOGLE_APPLICATION_CREDENTIALS | cut -c 1-6)" >> $GITHUB_ENV - name: Install Linux dependencies run: | sudo apt update - sudo apt install gdal-bin libgdal-dev - - name: Install Dependencies + sudo apt install -y gdal-bin libgdal-dev + - name: Install Packages run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r .github/requirements.txt pip install GDAL==`gdal-config --version` - name: Run Tests + env: + GOOGLE_APPLICATION_USER: ${{ secrets.GOOGLE_APPLICATION_USER }} + GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} run: | - pytest tests \ No newline at end of file + pytest tests \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 21724e4..0000000 --- a/requirements.txt +++ /dev/null @@ -1,18 +0,0 @@ -earthengine-api==0.1.408 -geocube==0.4.2 -geopandas==0.14.1 -rioxarray==0.15.0 -odc-stac==0.3.8 -pystac-client==0.7.5 -pytest==7.4.3 -xarray-spatial==0.3.7 -xee==0.0.3 -utm==0.7.0 -osmnx==1.9.3 -dask[complete]==2023.11.0 -matplotlib==3.8.2 -s3fs==2024.5.0 -geemap==0.32.0 -pip==23.3.1 -boto3==1.34.124 -cartoframes==1.2.5