From 7bb04181b49b7b16e753a0a383f693038d655b96 Mon Sep 17 00:00:00 2001 From: EricGustin Date: Fri, 28 Jan 2022 09:58:57 -0800 Subject: [PATCH] Final merge conflict --- .github/workflows/run_local_tests.yml | 72 --------------------------- 1 file changed, 72 deletions(-) delete mode 100644 .github/workflows/run_local_tests.yml diff --git a/.github/workflows/run_local_tests.yml b/.github/workflows/run_local_tests.yml deleted file mode 100644 index 04ff1a8af3..0000000000 --- a/.github/workflows/run_local_tests.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: run-tests-local - -on: [push, pull_request] - -env: - HOMEBREW_NO_ANALYTICS: "ON" # Make Homebrew installation a little quicker - HOMEBREW_NO_AUTO_UPDATE: "ON" - HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON" - HOMEBREW_NO_GITHUB_API: "ON" - HOMEBREW_NO_INSTALL_CLEANUP: "ON" - - -jobs: - build_wheels: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-20.04, macos-10.15] - python-version: [3.7, 3.8, 3.9] - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Display Python version - run: | - python -c "import sys; print(sys.version)" - - - name: Install build-essentials - if: contains(matrix.os, 'ubuntu') - run: | - sudo add-apt-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -y build-essential - sudo apt-get install -y wget - - - name: Install GNU make for MacOS - if: contains(matrix.os, 'macos') - run: brew install make || true - - - - name: Install SmartSim on MacOS - if: contains(matrix.os, 'macos') - run: | - echo "$(brew --prefix)/opt/make/libexec/gnubin" >> $GITHUB_PATH - python -m pip install .[dev,ml,ray] - - - name: Install SmartSim on Ubuntu - if: contains(matrix.os, 'ubuntu') - run: | - pip install -e .[dev,ml,ray] - - - name: Install ML Runtimes with Smart (with pt and tf) - if: contains(matrix.os, 'macos') - run: smart build --device cpu -v - - - name: Install ML Runtimes with Smart (with pt tf and onnx support) - if: contains(matrix.os, 'ubuntu') - run: smart build --device cpu --onnx -v - - - name: List all installed packages - if: contains(matrix.os, 'ubuntu') - run: apt list --installed - - - name: Run Pytest - run: | - echo "SMARTSIM_LOG_LEVEL=debug" >> $GITHUB_ENV - py.test -s -v -ra --tb=long --import-mode=importlib -o log_cli=true --ignore=test/full_wlm/