feat(cli): add datasets command (per query) #63
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: | |
branches: | |
- main | |
paths: | |
- "*.py" | |
- esgpull/** | |
- tests/** | |
- .github/workflows/ci.yml | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "*.py" | |
- esgpull/** | |
- tests/** | |
- .github/workflows/ci.yml | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pdm-project/setup-pdm@v3 | |
name: setup pdm | |
with: | |
python-version: "3.10" # Version range or exact version of a Python version to use, the same as actions/setup-python | |
architecture: x64 # The target architecture (x86, x64) of the Python interpreter. the same as actions/setup-python | |
prerelease: false # Allow prerelease versions to be installed | |
enable-pep582: true # Enable PEP 582 package loading globally | |
- name: install dependencies | |
run: pdm install -G test | |
- name: run tests | |
run: pdm run test_coverage |