Skip to content

Commit

Permalink
ci: always install setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Feb 26, 2024
1 parent a074346 commit eb33be6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ jobs:
if: ${{ matrix.install_libcxx }}
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y libc++-dev libc++abi-dev
- name: Install dependencies if Python version is 3.12.0+
if: ${{ matrix.python == '3.12.0' }}
run: |
python -m pip install .
- name: Install setuptools
run: python -m pip install setuptools
- name: Install flake8
run: python -m pip install flake8
- name: Fetch fixtures
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tree_sitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ def test_errors(self):
with self.assertRaisesRegex(NameError, "Invalid field name buzz"):
PYTHON.query("(function_definition buzz: (identifier))")
with self.assertRaisesRegex(NameError, "Invalid capture name garbage"):
PYTHON.query("((function_definition) (eq? @garbage foo))")
PYTHON.query("((function_definition) (#eq? @garbage foo))")
with self.assertRaisesRegex(SyntaxError, "Invalid syntax at offset 6"):
PYTHON.query("(list))")
PYTHON.query("(function_definition)")
Expand Down
2 changes: 1 addition & 1 deletion tree_sitter/core
Submodule core updated 185 files

0 comments on commit eb33be6

Please sign in to comment.