Update to v4 #137
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
on: [push, pull_request] | |
jobs: | |
run: | |
name: Run Planetcantile | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup git config | |
run: | | |
git config user.name "Andrew Annex's GitHub Actions Bot" | |
git config user.email "<>" | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install deps | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pytest #todo use dev install | |
python -m pip install .[dev] | |
- name: Run defaults script | |
run: | | |
cd src/planetcantile/data && python ./generate.py && cd - | |
- name: show outputs | |
run: | | |
cat ./src/planetcantile/data/*/*.json | |
git status | |
- name: run tests | |
run: | | |
python -m pytest . |