Skip to content

Improve DOI validation, remove dependency (#326) #663

Improve DOI validation, remove dependency (#326)

Improve DOI validation, remove dependency (#326) #663

Workflow file for this run

name: Run pyos meta tests
on:
pull_request:
push:
branches:
- main
schedule:
# Runs on Mon and Thu of each week at 00:00 UTC (see https://crontab.guru)
- cron: "0 0 * * 1,4"
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
with:
persist-credentials: false
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
with:
python-version: "3.10"
- name: Install Hatch
run: pipx install hatch
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: hatch run test:run-report
- name: Run CLIs against website
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
pip install -e .
git clone https://github.com/pyOpenSci/pyopensci.github.io.git
cd pyopensci.github.io
update-contributors
update-reviews
update-review-teams
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
files: ./coverage.xml