add triton 23.01 (#68) #141
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: unit-tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
# For pull requests it's not necessary to checkout the code | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v2 | |
# set up our environment | |
- | |
name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- | |
name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox tox-gh-actions | |
# run the library's tests | |
- | |
name: run tests | |
run: tox |