Skip to content

Commit

Permalink
ci: removed 3.6 from python versions (fails to build), added 3.10 and…
Browse files Browse the repository at this point in the history
… 3.11. Updated python setup action and added poetry caching to make workflow more efficient. Run on ubuntu-latest. Small OCD corrections in codeql. (#843)
  • Loading branch information
Stedders authored May 22, 2023
1 parent 5d7c0e0 commit 569f00f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CodeQL"

on:
push:
branches: [master, ]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
Expand All @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v2
with:
# 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

# If this run was triggered by a pull request event, then checkout
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ jobs:
test:
strategy:
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:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
cache: poetry
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Install poetry
Expand Down

0 comments on commit 569f00f

Please sign in to comment.