@@ -2,7 +2,7 @@ name: "CodeQL" | |||||
on: | on: | ||||
push: | push: | ||||
branches: [master, ] | |||||
branches: [master] | |||||
pull_request: | pull_request: | ||||
# The branches below must be a subset of the branches above | # The branches below must be a subset of the branches above | ||||
branches: [master] | branches: [master] | ||||
@@ -19,7 +19,7 @@ jobs: | |||||
uses: actions/checkout@v2 | uses: actions/checkout@v2 | ||||
with: | with: | ||||
# We must fetch at least the immediate parents so that if this is | # We must fetch at least the immediate parents so that if this is | ||||
# a pull request then we can checkout the head. | |||||
# a pull request then we can check out the head. | |||||
fetch-depth: 2 | fetch-depth: 2 | ||||
# If this run was triggered by a pull request event, then checkout | # If this run was triggered by a pull request event, then checkout | ||||
@@ -18,13 +18,14 @@ jobs: | |||||
test: | test: | ||||
strategy: | strategy: | ||||
matrix: | matrix: | ||||
python: ["3.6", "3.7", "3.8", "3.9"] | |||||
runs-on: ubuntu-20.04 | |||||
python: [3.7, 3.8, 3.9, 3.10, 3.11] | |||||
runs-on: ubuntu-latest | |||||
steps: | steps: | ||||
- uses: actions/checkout@v2 | - uses: actions/checkout@v2 | ||||
- uses: actions/setup-python@v2 | |||||
- uses: actions/setup-python@v3 | |||||
with: | with: | ||||
python-version: ${{ matrix.python }} | python-version: ${{ matrix.python }} | ||||
cache: poetry | |||||
- name: Setup Graphviz | - name: Setup Graphviz | ||||
uses: ts-graphviz/setup-graphviz@v1 | uses: ts-graphviz/setup-graphviz@v1 | ||||
- name: Install poetry | - name: Install poetry | ||||