add a with updates test
@@ -72,3 +72,46 @@ jobs:
- name: Run Tox
run: |
poetry run tox -e ${{ matrix.toxenv }}
+
+
+ WithUpdates:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: ['ubuntu']
+ python-version: [3.7]
+ toxenv: ['pylint', 'doctest']
+
+ runs-on: ${{ matrix.os }}-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ with:
+ fetch-depth: 1
+
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Show python information
+ run: |
+ python -c "import sys; print(sys.version); print(sys.executable); print(sys.platform)"
+ python -c "import platform; print(platform.machine()); print(platform.release())"
+
+ - name: Install FreeTDS on MacOS
+ if: matrix.os == 'macos'
+ run: |
+ brew install freetds
+
+ - name: Upgrade pip, install poetry and tox
+ run: |
+ python -m pip install --upgrade pip poetry tox
+
+ - name: Generate new poetry.lock file
+ run: |
+ poetry update
+
+ - name: Run Tox
+ run: |
+ poetry run tox -e ${{ matrix.toxenv }}
