Skip to content

Commit

Permalink
Fixed yaml syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Shimansky <[email protected]>
  • Loading branch information
gshimansky committed Jun 7, 2024
1 parent 0477a51 commit d4bf42f
Showing 1 changed file with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,36 +38,38 @@ jobs:
python3 -m pre_commit run --show-diff-on-failure --color=always --all-files --verbose
build-test:
name: Build and test
runs-on:
- glados
- cpu
- intel
- x86
strategy:
matrix:
python: ['3.11']
steps:
- name: Checkout repository
uses: actions/checkout@v4
build-test:
name: Build and test
runs-on:
- glados
- cpu
- intel
- x86
strategy:
matrix:
python: ['3.11']
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip

- name: Install pip dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install wheel cmake==3.24 ninja pytest-xdist lit
- name: Install Triton
run: |
echo "PATH is '$PATH'"
cd python
python3 -m pip install --no-build-isolation -vvv '.[tests]'
- name: Install pip dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install wheel cmake==3.24 ninja pytest-xdist lit
- name: Install Triton
run: |
echo "PATH is '$PATH'"
cd python
python3 -m pip install --no-build-isolation -vvv '.[tests]'
- name: Run python unit tests
run: |
cd python/test/unit
python -m pytest -n 32 --device cpu python/test/unit/language/test_core.py -m cpu
- name: Run python unit tests
run: |
cd python/test/unit
python -m pytest -n 32 --device cpu python/test/unit/language/test_core.py -m cpu

0 comments on commit d4bf42f

Please sign in to comment.