Skip to content

Commit

Permalink
Bugfix/action dedupe (NVIDIA#598)
Browse files Browse the repository at this point in the history
* add test de-duping using skip-duplicate-actions

* yaml syntax fix

---------

Signed-off-by: Leon Derczynski <[email protected]>
  • Loading branch information
leondz authored Apr 10, 2024
1 parent 85e981e commit 4127ae5
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,20 @@ jobs:
build:
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10","3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
python -m pytest tests/
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10","3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
python -m pytest tests/

0 comments on commit 4127ae5

Please sign in to comment.