🔄 synced file(s) with HakaiInstitute/hakai-dataset-repositories-harvester #57
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: 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 |