Merge pull request #39 from jupyter-naas/75-feat-create-object-storag… #80
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: Pytest | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
container: | |
image: condaforge/miniforge3:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Checkout naas-models | |
uses: actions/checkout@v2 | |
with: | |
repository: jupyter-naas/naas-models | |
path: naas_models | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Install package dependencies | |
run: | | |
pip install pytest pydantic | |
- name: Install main package | |
run: | | |
pip install -e .[dev] | |
- name: pytest | |
run: | | |
pytest tests | |