Skip to content

Commit

Permalink
Update pytester.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazno committed Aug 20, 2023
1 parent e3552ab commit 6cf9924
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions .github/workflows/pytester.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
name: pytest Workflow
name: pytest

on:
push:
branches:
- main
pull_request:
branches:
- main
branches: [main]
push:
branches: [main]

jobs:
pytest_job:
name: Run pytest
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.10

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pytest
run: |
pytest
- name: Test with pytest
run: |
pytest

0 comments on commit 6cf9924

Please sign in to comment.