Skip to content

Commit

Permalink
Merge pull request #33 from clebergnu/lint_avoid_conflicts
Browse files Browse the repository at this point in the history
Reorg module metadata and test directory to avoid namespace clashes
  • Loading branch information
richtja authored Dec 3, 2024
2 parents f7c01cf + a90c81c commit e806e53
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/modules-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: pip3 install 'avocado-framework<104.0'

- name: Run the ar module test
run: ./tests/test_module.py metadata/autils/archive/ar.yml
run: ./tests/test_module.py metadata/archive/ar.yml

static-checks:
runs-on: ubuntu-latest
Expand All @@ -26,6 +26,9 @@ jobs:
- name: Install Avocado to allow for lint check on Python code under tests directory
run: pip3 install 'avocado-framework<104.0'

- name: Include autils directory from source tree into Python's PATH
run: pip3 install .

- name: run static checks
uses: avocado-framework/avocado-ci-tools@main
with:
Expand Down Expand Up @@ -55,5 +58,5 @@ jobs:

- name: Run API stability tests
if: steps.test_changes.outcome == 'failure'
run: ./tests/test_module.py metadata/autils/archive/ar.yml
run: ./tests/test_module.py metadata/archive/ar.yml

2 changes: 1 addition & 1 deletion metadata/autils/archive/ar.yml → metadata/archive/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ supported_platforms:
- Fedora 36
- Fedora 37
tests:
- tests/autils/archive/ar.py
- tests/modules/archive/ar.py
remote: false
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e806e53

Please sign in to comment.