switch the gh-actions to use ci_tests

This commit is contained in:
Zach White
2021-07-07 20:14:04 -07:00
parent bcdac9a80e
commit 709f416e52
3 changed files with 8 additions and 30 deletions
+4 -29
View File
@@ -24,20 +24,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python3 -m pip install wheel
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install QMK CLI from source
run: |
python3 -m pip install -r requirements.txt
python3 setup.py sdist bdist_wheel
cd ..
python3 -m pip install --force-reinstall --no-index --no-deps --prefix=~/.local --find-links qmk_cli/dist qmk
- name: Run qmk setup -y
run: qmk setup -y
- name: Run ci_tests
run: ./ci_tests -a
test_cli_win:
runs-on: windows-latest
@@ -53,19 +41,6 @@ jobs:
update: true
install: git mingw-w64-x86_64-toolchain mingw-w64-x86_64-python-pip
- name: (MSYS2) Install Python dependencies
- name: (MSYS2) Run ci_tests -a
shell: msys2 {0}
run: |
python3 -m pip install wheel
- name: (MSYS2) Install QMK CLI from source
shell: msys2 {0}
run: |
python3 -m pip install -r requirements.txt
python3 setup.py sdist bdist_wheel
cd ..
python3 -m pip install --force-reinstall --no-index --no-deps --find-links qmk_cli/dist qmk
- name: (MSYS2) Run qmk setup -y
shell: msys2 {0}
run: qmk setup -y
run: ./ci_tests -a
+2
View File
@@ -22,6 +22,8 @@ jobs:
uses: actions/setup-python@v2.2.2
with:
python-version: '3.7'
- name: Run ci_tests
run: ./ci_tests
- name: Install dependencies
run: |
python -m pip install --upgrade pip