Skip to content

Commit

Permalink
fix test worklflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfcabral committed Mar 20, 2024
1 parent e1856a1 commit 739f5ff
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ on: [push]

jobs:
unittests:
name: Unit tests
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Unit test with pytest
run: |
poetry run pytest tests/ -vs --cov botgen/ --cov-report term-missing
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Unit test with pytest
run: |
poetry run pytest tests/ -vs --cov botgen/ --cov-report term-missing

0 comments on commit 739f5ff

Please sign in to comment.