Skip to content

Commit

Permalink
add type checking to CI (6)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-thomm committed May 19, 2024
1 parent 65d468d commit f5f78fe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/type-checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,20 @@ on:
- '*'
workflow_dispatch:
jobs:
Build-and-Publish:
Type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.10.x
architecture: x64
# if we are not on the main branch, install ryvencore from the dev branch from github
# otherise, install ryvencore from pypi
- if: github.ref != 'refs/heads/main'
run: python -m pip install git+https://github.com/leon-thomm/ryvencore/tree/dev
- if: github.ref == 'refs/heads/main'
run: python -m pip install ryvencore
- name: Install ryvencore-qt dependencies
run: python -m pip install . --user && python -m pip uninstall ryvencore-qt --yes
working-directory: ./ryvencore-qt
Expand Down

0 comments on commit f5f78fe

Please sign in to comment.