Changed target name/series ID divider and added ability to return series ID column with predictions #1639
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: Install Test | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
push: | ||
branches: | ||
- main | ||
env: | ||
# Disables API requests which is not needed for testing. | ||
ALTERYX_OPEN_SRC_UPDATE_CHECKER: False | ||
jobs: | ||
install: | ||
name: ${{ matrix.os }} - ${{ matrix.python_version }} install evalml | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
python_version: ["3.8", "3.9", "3.10"] | ||
exclude: | ||
- os: macos-latest | ||
python-version: "3.8" | ||
Check failure on line 21 in .github/workflows/install_test.yaml GitHub Actions / Install TestInvalid workflow file
|
||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
- name: Set up python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
cache: 'pip' | ||
cache-dependency-path: 'pyproject.toml' | ||
- uses: actions/cache@v3 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ matrix.os- }}-${{ matrix.python_version }}-install-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}-v01 | ||
- name: Build evalml package | ||
run: make package | ||
- name: Install evalml from sdist (not using cache) | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
python -m pip install "unpacked_sdist/." | ||
- name: Install evalml from sdist (using cache) | ||
if: steps.cache.outputs.cache-hit == 'true' | ||
run: | | ||
python -m pip install "unpacked_sdist/." --no-deps | ||
- name: Test by importing packages | ||
run: | | ||
python -c "import evalml" | ||
python -c "from evalml.demos import load_fraud; load_fraud(n_rows=10)" | ||
python -c "from evalml.demos import load_churn; load_churn(n_rows=10)" | ||
- name: Check package conflicts | ||
run: | | ||
python -m pip check | ||
- name: Verify extra_requires commands | ||
run: | | ||
python -m pip install "unpacked_sdist/[updater]" | ||
- name: Test by importing packages | ||
run: | | ||
python -c "import alteryx_open_src_update_checker" |