Skip to content

🔄 synced file(s) with HakaiInstitute/hakai-dataset-repositories-harvester #57

🔄 synced file(s) with HakaiInstitute/hakai-dataset-repositories-harvester

🔄 synced file(s) with HakaiInstitute/hakai-dataset-repositories-harvester #57

Workflow file for this run

name: Test dataset
on:
workflow_dispatch:
pull_request:
branches: main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install Hakai Tests
run: |
python -m pip install --upgrade pip
pip install git+https://HakaiInstitute:${{secrets.CI_TOKEN}}@github.com/HakaiInstitute/hakai-datasets-repo-standard-tests.git
- name: Test with pytest
run: |
pytest --pyargs hakai_data_repo_tests