-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (33 loc) · 939 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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@v5
with:
python-version: '3.12'
- name: Install deps
run: |
python -m pip install --upgrade pip
python -m pip install build twine
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 .
- name: Build
run: |
python -m build
python -m twine check dist/*