Skip to content

Commit

Permalink
chore: modify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BallardRobinett committed Feb 13, 2024
1 parent d9210ec commit 419e939
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@ on:
branches: [main, develop, 73-initialize-pytest]

jobs:
test:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]

steps:
- name: Set up Python
uses: actions/setup-python@v5
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.9"

python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run pytest
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest

0 comments on commit 419e939

Please sign in to comment.