Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit e271189

Browse files
committed
rename code-check workflow to tox
1 parent 54a5b28 commit e271189

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

.github/workflows/code-check.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: code-check
5-
4+
name: tox
65
on:
76
pull_request:
8-
97
jobs:
108
build:
11-
129
runs-on: ubuntu-latest
1310
strategy:
14-
fail-fast: false
1511
matrix:
1612
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17-
1813
steps:
19-
- uses: actions/checkout@v3
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
22-
with:
23-
python-version: ${{ matrix.python-version }}
24-
- name: Install dependencies
25-
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install tox
28-
- name: Run tox
29-
run: |
30-
tox -e code-check,unittests,validate-resources
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
python -m pip install tox
23+
- name: Run tox
24+
run: |
25+
tox -e code-check,unittests,validate-resources

0 commit comments

Comments
 (0)