Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
80sVectorz authored and 80sVectorz committed Jul 24, 2023
2 parents 2b613ca + a01f268 commit 9321a1f
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,22 @@ jobs:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Lint/format with Black
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./src"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m build ; python -m pip install ./dist/*tar.gz
- name: Test with pytest
run: |
pytest
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Lint/format with Black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./src"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m build ; python -m pip install ./dist/*tar.gz
- name: Test with pytest
run: |
pytest

0 comments on commit 9321a1f

Please sign in to comment.