Set verbose to true in build-test-publish #11
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: Build and Test | |
on: | |
pull_request: | |
branches: [ "main" ] | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Upgrade pip and install requests | |
run: python -m pip install --upgrade build requests | |
- name: Download the NAIF high precision EOP file | |
run: python naif_eop_high_prec/fetch.py | |
- name: Set Version | |
run: | | |
VERSION=$(date -u +%Y.%m.%d) | |
sed -i "s/.*version =.*/version = \"$VERSION\"/g" pyproject.toml | |
- name: Install naif_eop_high_prec | |
run: pip install .[tests] | |
- name: Test naif_eop_high_prec | |
run: pytest . |