Skip to content

Update streamlit share requirments #44

Update streamlit share requirments

Update streamlit share requirments #44

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
# - name: Ensure Python and source code are on same drive (Windows)
# if: ${{ matrix.os == 'windows-latest' }}
# shell: cmd
# run: |
# mkdir C:\a
# xcopy D:\a C:\a /s /e
- name: Install dependencies
run: |
pip install pytest-cov
pip install .
# run this command to move the data files to the user's home directory
ezancestry --help
- name: Test with pytest (Ubuntu & macOS)
if: ${{ matrix.os != 'windows-latest' }}
run: |
pytest --cov=ezancestry tests
# - name: Test with pytest (Windows)
# if: ${{ matrix.os == 'windows-latest' }}
# working-directory: C:\a\ezancestry\ezancestry
# run: |
# pytest --cov=ezancestry tests