fix: Add constraints for requirements to fix build #409
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 & test | |
on: | |
push: | |
tag-ignore: # only banches | |
- '*' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macOS-latest, windows-latest] | |
include: # match Python bitness shipped with Galaxy | |
- os: macOS-latest | |
arch: x64 | |
- os: windows-latest | |
arch: x86 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
architecture: ${{ matrix.arch }} | |
- name: Install | |
run: python -m pip install -r requirements-dev.txt | |
- name: Run Tests | |
run: | | |
inv build --output tmp | |
inv test --target tmp |