Skip to content

Merge pull request #153 from uc-cdis/wangfan860-patch-1 #607

Merge pull request #153 from uc-cdis/wangfan860-patch-1

Merge pull request #153 from uc-cdis/wangfan860-patch-1 #607

Workflow file for this run

name: CI Workflow
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Test with pytest
run: |
poetry run pytest test