move tool to .github workflows

This commit is contained in:
Markus Hofbauer 2024-02-19 18:39:33 +01:00
parent cdf32e5c04
commit 21f33c476c
5 changed files with 4 additions and 4 deletions

View File

@ -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