Merge pull request #35 from lsst/tickets/DM-39938 #374
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: build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build and install wheel | |
run: | | |
pip install virtualenv | |
test/test_wheel_install.sh | |
- name: Install pytest and fastavro (needed by tests) | |
run: | | |
pip install --upgrade pip | |
pip install pytest fastavro | |
- name: Ensure we have a usable version installed | |
run: | | |
pip install -e . | |
- name: run tests | |
run: | | |
pytest test |