Installation #2
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: Installation | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 1 * *" # First day of the month | |
jobs: | |
run: | |
name: Installation on (${{ matrix.os }} with Python ${{ matrix.python-version }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: git fetch --prune --unshallow --tags | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pip | |
run: | | |
python -m pip install --upgrade pip | |
pip3 install packaging | |
- name: Install package | |
run: pip install -e . | |
- name: Test module load | |
run: python -c "import constantinople_lab_to_nwb" | |