Skip to content

Commit

Permalink
Uncomment jobs in tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
javh committed Jul 10, 2024
1 parent ed768e0 commit 3b46866
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@ on: workflow_dispatch
# branches: [main]
# pull_request:
# branches: [main]
#
# jobs:
# build:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
#
# name: Python ${{ matrix.python-version }}
# steps:
# - uses: actions/checkout@v2
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# cache: "pip"
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install flake8 pytest tox
#
# # - name: Lint with flake8
# # run: |
# # # stop the build if there are Python syntax errors or undefined names
# # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# # # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
#
# - name: Test with tox
# run: |
# tox

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest tox
# - name: Lint with flake8
# run: |
# # stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

- name: Test with tox
run: |
tox

0 comments on commit 3b46866

Please sign in to comment.