Create a function to calculate cited items per year #69
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
tests: | |
name: CI for ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
env: | |
USING_COVERAGE: "3.8,3.11" | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -VV | |
python -m site | |
python -m pip install --upgrade pip setuptools wheel hatch==1.6.3 | |
- name: Run tests for ${{ matrix.python-version }} | |
run: | | |
hatch env create | |
hatch run pre-commit run --all | |
hatch run pytest |