Pin streamlit while I figure out deprecation failure #62
Workflow file for this run
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: 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 |