Skip to content

Commit

Permalink
Update GHA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GigantPro committed Jul 29, 2023
1 parent 508f83c commit 385d72d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,21 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Pip upgrade
run: python -m pip install --upgrade pip

- name: Poetry install
run: pip install poetry

- name: Install dependencies
run: python -m poetry install --with dev
run: python -m poetry install --with dev && python -m poetry shell

- name: Build
run: python setup.py develop

- name: CD tests
run: cd tests

- name: Run tests
run: python -m poetry run testing
run: python -m pytest
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
packages=[
'frozenclass',
'frozenclass.dataparser',
'frozenclass.exceptions',
'frozenclassyoutube_dl.exceptions',
'frozenclass.functions'
],
install_requires=[],
Expand Down

0 comments on commit 385d72d

Please sign in to comment.