Skip to content

Commit

Permalink
#7063: Use Sentry command and see if it would work
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitri-tenstorrent committed Apr 3, 2024
1 parent 21eb05e commit 0666dee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 24 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build-and-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,21 @@ jobs:
name: TTMetal_build_${{ matrix.runner-info.arch }}
- name: Extract files
run: tar -xvf ttm_${{ matrix.runner-info.arch }}.tar
- name: "Use Git Cache"
id: cache-pip
uses: actions/setup-python@v5
- name: "Use Sentry Git Cache"
uses: getsentry/[email protected]
id: venv
with:
path: ./.env/ #
python-version: '3.8'
cache: 'pip'
python-version: 3.8
cache-dependency-path: |
tt_metal/python_env/requirements-dev.txt
pyproject.toml
- run: python -m venv ./.env && . ./.env/bin/activate &&
pip install -r tt_metal/python_env/requirements-dev.txt
if: steps.cache-pip.outputs.cache-hit != 'true'
- if: ${{ steps.cache-pip.outputs.cache-hit == 'true' }}
install-cmd: pip install -r tt_metal/python_env/requirements-dev.txt
- if: ${{ steps.venv.outputs.cache-hit == 'true' }}
name: List the state of Python modules
continue-on-error: true
run: pip freeze
- name: Run pre/post regression tests
timeout-minutes: 15
run: |
source ./.env/bin/activate
source ./.venv/bin/activate
./tests/scripts/run_tests.sh --tt-arch $ARCH_NAME --pipeline-type post_commit --dispatch-mode slow
23 changes: 10 additions & 13 deletions .github/workflows/build-artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,16 @@ jobs:
- name: Set up dynamic env vars for build
run: |
echo "TT_METAL_HOME=$(pwd)" >> $GITHUB_ENV
- name: "Use Git Cache"
id: cache-pip
uses: actions/setup-python@v5
with:
path: ./.env/ #
python-version: '3.8'
cache: 'pip'
cache-dependency-path: |
tt_metal/python_env/requirements-dev.txt
pyproject.toml
- run: python -m venv ./.env && . ./.env/bin/activate &&
pip install -r tt_metal/python_env/requirements-dev.txt
if: steps.cache-pip.outputs.cache-hit != 'true'
- name: "Use Sentry Git Cache"
uses: getsentry/[email protected]
id: venv
with:
python-version: 3.8
cache-dependency-path: |
tt_metal/python_env/requirements-dev.txt
pyproject.toml
install-cmd: pip install -r tt_metal/python_env/requirements-dev.txt
- name: Build tt-metal and libs
run: |
make build PYTHON_ENV=$HOME/python_env
Expand Down

0 comments on commit 0666dee

Please sign in to comment.