Use main_syntax variable to detect embedded syntax (#108) #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- name: Install vim | |
run: | | |
sudo add-apt-repository ppa:jonathonf/vim | |
sudo apt install vim | |
- name: Run lint | |
run: | | |
pip install -r requirements.txt | |
make lint | |
- name: Run tests | |
run: make test |