Update populate_resource_keywords.py #15
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: motbxtools_tests | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'schema/**' | |
- 'test/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
miniforge-variant: Mambaforge | |
channels: conda-forge | |
python-version: 3.11 | |
activate-environment: motbxtools_test | |
environment-file: envs/motbxtools_test.yml | |
use-mamba: true | |
- name: Build environment | |
run: | | |
conda activate motbxtools_test | |
python -m pip install -e . | |
- name: Run unit tests | |
run: | | |
pytest |