From 216603ded9d347cb93bda7127f7af5b7645f9140 Mon Sep 17 00:00:00 2001 From: Sandro Loch Date: Fri, 1 Dec 2023 10:17:10 -0300 Subject: [PATCH] fix(ci): Format yaml file --- .github/workflows/python-package.yml | 23 ++++++++++------------- pyproject.toml | 11 ++++++----- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5debb6d..f9795c7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,41 +1,38 @@ -name: build +name: maketests on: [push, pull_request] - jobs: build: runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 60 strategy: matrix: python-version: - - "3.9" - + - '3.9' concurrency: - group: ci-${{ github.ref }} + group: 'ci-${{ github.ref }}' cancel-in-progress: true - defaults: run: - shell: bash -l {0} + shell: 'bash -l {0}' steps: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 with: miniconda-version: latest - mamba-version: "*" + mamba-version: '*' environment-file: conda/dev.yaml - channels: conda-forge,nodefaults + channels: 'conda-forge,nodefaults' activate-environment: pysus use-mamba: true miniforge-variant: Mambaforge - - name: Install and set config poetry + - name: Install dependencies run: | - export PATH="$HOME/.poetry/bin:$PATH" curl -sSL https://install.python-poetry.org/ | python - - poetry config virtualenvs.create false + export PATH="$HOME/.poetry/bin:$PATH" + poetry config virtualenvs.create false - name: Install main dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 5696146..b5b2a08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,11 @@ Unidecode = "^1.3.6" dateparser = "^1.1.8" pandas = ">=1.5.3" urwid = "^2.1.2" +elasticsearch = { version = "7.16.2", extras=["preprocessing"] } +# FTP +bigtree = "^0.12.2" +aioftp = "^0.21.4" +humanize = "^4.8.0" [tool.poetry.group.dev.dependencies] compose-go = "^2.21.0" @@ -44,11 +49,7 @@ ipykernel = "^6.25.1" seaborn = "^0.12.2" tomli = "^2.0.1" sphinx-rtd-theme = "^1.3.0" -# FTP -bigtree = "^0.12.2" -aioftp = "^0.21.4" -humanize = "^4.8.0" -elasticsearch = { version = "7.16.2", extras=["preprocessing"] } + [tool.poetry.group.geo.dependencies] geobr = { version = "^0.2.0", extras=["preprocessing"] }