Browse Source

[DATALAD] removed content

Daniel Busch 4 months ago
parent
commit
34e6ee469d
1 changed files with 0 additions and 45 deletions
  1. 0 45
      .github/workflows/datalad_setup.yaml

+ 0 - 45
.github/workflows/datalad_setup.yaml

@@ -1,45 +0,0 @@
-name: datalad set up
-
-on:
-  pull_request:
-  push:
-    branches: [main]
-    tags: ['v*']
-
-jobs:
-  download:
-    runs-on: ubuntu-22.04
-    steps:
-      - name: install datalad
-        uses: awalsh128/cache-apt-pkgs-action@v1.4.2
-        with:
-          packages: datalad
-          version: 1.0
-      - name: Install poetry
-        shell: bash
-        run: |
-          pipx install poetry
-          which poetry
-          poetry --version  # Check poetry installation
-      - name: configure git email
-        run: git config --global user.email "daniel.busch@climate-resource.com"
-      - name: configure git user
-        run: git config --global user.name "Daniel Busch (via github actions)"
-      - name: clone repo
-        run: datalad clone https://github.com/primap-community/FAOSTAT_data_primap.git
-      - name: setup Python
-        uses: actions/setup-python@v5
-        with:
-          python-version: '3.11'
-      - name: Set Poetry environment
-        shell: bash
-        run: |
-         cd FAOSTAT_data_primap/
-         poetry config virtualenvs.create true
-         poetry config virtualenvs.in-project true
-         poetry install --no-interaction --all-extras --only 'main,dev'
-         poetry run python --version  # Check python version just in case
-      - name: download data
-        run: |
-         cd FAOSTAT_data_primap/
-         poetry run doit download