1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 08:10:08 +00:00

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 - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 - name: Run unit tests
run: | run: |
cd tools/alias_collision/ cd .github/workflows/alias_collision/
python -m pytest python -m pytest
- name: Checkout target branch - name: Checkout target branch
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -61,6 +61,6 @@ jobs:
path: ohmyzsh-target-branch path: ohmyzsh-target-branch
ref: master ref: master
- name: Check for alias collisions on target branch - 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 - 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