Skip to content

Commit

Permalink
Setting working directory in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Oct 7, 2023
1 parent a823258 commit bf6b96c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
working-directory: ./
run: |
pip install pytest
python -m pytest
2 changes: 1 addition & 1 deletion sausage_bot/test/datetime_handling_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pytest
from ..util import datetime_handling as dt
from sausage_bot.util import datetime_handling as dt


def test_correct_date_converting():
Expand Down
2 changes: 1 addition & 1 deletion sausage_bot/test/feeds_core_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pytest
from ..util import file_io
from sausage_bot.util import file_io


def test_check_similarity_return_number_or_none():
Expand Down
2 changes: 1 addition & 1 deletion sausage_bot/test/file_io_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
import pytest
from unittest import mock
from ..util import file_io, envs
from sausage_bot.util import file_io, envs


def test_write_file_input():
Expand Down
2 changes: 1 addition & 1 deletion sausage_bot/test/net_io_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import pytest
from ..util import net_io
from sausage_bot.util import net_io


def test_make_event_start_stop():
Expand Down

0 comments on commit bf6b96c

Please sign in to comment.