Skip to content

add json file parse logic as data class function #32

add json file parse logic as data class function

add json file parse logic as data class function #32

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.12]
# ["3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -e .
- name: Run pytest
env:
ZENODO_TOKEN: ${{ secrets.ZENODO_TOKEN }}
DEPOSITION_ID: ${{ secrets.DEPOSITION_ID }}
run: pytest tests/test_zenodopy.py -v