Skip to content

Disable attestations and remove unused password token #16

Disable attestations and remove unused password token

Disable attestations and remove unused password token #16

Workflow file for this run

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 and Decompress the MPC Observatory Code File
run: python mpc_obscodes/fetch.py
- name: Set Version
run: |
VERSION=$(date -u +%Y.%m.%d)
sed -i "s/.*version =.*/version = \"$VERSION\"/g" pyproject.toml
- name: Install mpc_obscodes
run: pip install .[tests]
- name: Test mpc_obscodes
run: pytest .