Skip to content

Commit

Permalink
workflow stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
masklinn committed Nov 18, 2024
1 parent a5a3d5f commit 9096e39
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout working copy
uses: actions/checkout@v4
with:
submodules: true
- name: ruff check
uses: chartboost/ruff-action@v1
- name: ruff format
Expand All @@ -28,8 +30,11 @@ jobs:
id: install_mypy
if: ${{ always() && steps.setup_python.conclusion == 'success' }}
run: |
ls
ls ua-parser-builtins
ls uap-core
python -mpip install --upgrade pip
python -mpip install mypy types-PyYaml
python -mpip install mypy types-PyYaml ./ua-parser-builtins
- name: mypy
if: ${{ always() && steps.install_mypy.conclusion == 'success' }}
run: mypy
Expand Down Expand Up @@ -115,6 +120,7 @@ jobs:
sudo apt install libyaml-dev
fi
- run: python -mpip install pytest pyyaml
- run: python -mpip install ./ua-parser-builtins
# install rs accelerator if available, ignore if not
- run: python -mpip install ua-parser-rs || true
# re2 is basically impossible to install from source so don't
Expand Down

0 comments on commit 9096e39

Please sign in to comment.