diff --git a/tools/alias_collision/.gitignore b/.github/workflows/alias_collision/.gitignore similarity index 100% rename from tools/alias_collision/.gitignore rename to .github/workflows/alias_collision/.gitignore diff --git a/tools/alias_collision/check_alias_collision.py b/.github/workflows/alias_collision/check_alias_collision.py similarity index 100% rename from tools/alias_collision/check_alias_collision.py rename to .github/workflows/alias_collision/check_alias_collision.py diff --git a/tools/alias_collision/requirements.txt b/.github/workflows/alias_collision/requirements.txt similarity index 100% rename from tools/alias_collision/requirements.txt rename to .github/workflows/alias_collision/requirements.txt diff --git a/tools/alias_collision/tests/test_check_alias_collision.py b/.github/workflows/alias_collision/tests/test_check_alias_collision.py similarity index 100% rename from tools/alias_collision/tests/test_check_alias_collision.py rename to .github/workflows/alias_collision/tests/test_check_alias_collision.py diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index be329d166..048a09231 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,10 +50,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r tools/alias_collision/requirements.txt + pip install -r .github/workflows/alias_collision/requirements.txt - name: Run unit tests run: | - cd tools/alias_collision/ + cd .github/workflows/alias_collision/ python -m pytest - name: Checkout target branch uses: actions/checkout@v4 @@ -61,6 +61,6 @@ jobs: path: ohmyzsh-target-branch ref: master - name: Check for alias collisions on target branch - run: python tools/alias_collision/check_alias_collision.py ohmyzsh-target-branch/plugins --known-collisions-output-path known_alias_collisions.json + run: python .github/workflows/alias_collision/check_alias_collision.py ohmyzsh-target-branch/plugins --known-collisions-output-path known_alias_collisions.json - name: Compare known collisions to new collisions on source branch - run: python tools/alias_collision/check_alias_collision.py plugins --known-collisions known_alias_collisions.json + run: python .github/workflows/alias_collision/check_alias_collision.py plugins --known-collisions known_alias_collisions.json