feat(copebr): add locales; include Argenina to weather #337
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
environment: env-satellite | |
env: | |
CDSAPI_KEY: "{{ secrets.API_UUID }}:{{ secrets.API_KEY }}" | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.11.0 | |
- name: Semantic Release PR Title Check | |
uses: osl-incubator/[email protected] | |
with: | |
convention-name: conventionalcommits | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
miniconda-version: "latest" | |
mamba-version: "*" | |
environment-file: conda/dev.yaml | |
channels: conda-forge,nodefaults | |
activate-environment: env-satellite | |
use-mamba: true | |
miniforge-variant: Mambaforge | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Lint | |
run: | | |
pre-commit run --all-files | |
- name: Run tests | |
run: | | |
pytest -s tests/ |