|
@@ -18,18 +18,22 @@ jobs: |
|
|
test: |
|
|
test: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
python: [3.7, 3.8, 3.9, 3.10, 3.11] |
|
|
|
|
|
|
|
|
python: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
- name: Install poetry |
|
|
|
|
|
run: | |
|
|
|
|
|
curl -O -sSL https://install.python-poetry.org/install-poetry.py |
|
|
|
|
|
python install-poetry.py -y --version 1.1.12 |
|
|
|
|
|
echo "PATH=${HOME}/.poetry/bin:${PATH}" >> $GITHUB_ENV |
|
|
|
|
|
rm install-poetry.py |
|
|
- uses: actions/setup-python@v3 |
|
|
- uses: actions/setup-python@v3 |
|
|
with: |
|
|
with: |
|
|
python-version: ${{ matrix.python }} |
|
|
python-version: ${{ matrix.python }} |
|
|
cache: poetry |
|
|
cache: poetry |
|
|
- name: Setup Graphviz |
|
|
- name: Setup Graphviz |
|
|
uses: ts-graphviz/setup-graphviz@v1 |
|
|
uses: ts-graphviz/setup-graphviz@v1 |
|
|
- name: Install poetry |
|
|
|
|
|
run: pip install poetry |
|
|
|
|
|
- name: Run all tests |
|
|
- name: Run all tests |
|
|
run: | |
|
|
run: | |
|
|
poetry install |
|
|
poetry install |
|
|