Merge pull request #74 from ielis/ielis/term_id_tests #200
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: [ development ] | |
pull_request: | |
branches: [ main, development ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ windows-latest, macOS-latest, ubuntu-latest ] | |
python: [ "3.8", "3.9", "3.10", "3.11" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Initialize Python ${{ matrix.python }} | |
uses: actions/setup-python@v4.3.1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install hpo-toolkit | |
run: | | |
python3 -m pip install --editable .[test] | |
- name: Run all tests | |
run: | | |
pytest src docs tests |