Skip to content

Commit

Permalink
Reintroduce test_environment_update removed from previous undo
Browse files Browse the repository at this point in the history
  • Loading branch information
hsolbrig committed Feb 7, 2022
1 parent a85bb54 commit 6318d5e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]

steps:

#----------------------------------------------
# check-out repo and set-up python
# check-out repo and set-up python
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v2
Expand All @@ -26,15 +26,15 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

#----------------------------------------------
# install & configure poetry
# install & configure poetry
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1.1.1
uses: snok/install-poetry@v1.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-in-project: true

#----------------------------------------------
# load cached venv if cache exists
Expand All @@ -52,13 +52,13 @@ jobs:
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root

#----------------------------------------------
# install your root project, if required
#----------------------------------------------
- name: Install library
run: poetry install --no-interaction

#----------------------------------------------
# run test suite
#----------------------------------------------
Expand All @@ -73,7 +73,7 @@ jobs:
poetry run coverage run -m unittest discover
poetry run coverage xml
poetry run coverage report -m
#----------------------------------------------
# upload coverage results
#----------------------------------------------
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tox]
envlist = py37, py38, py39, py310
isolated_build = true
skipsdist = true


[testenv]
whitelist_externals = python
deps=unittest2
tox-pipenv
setenv = PIPENV_VERBOSITY=-1
commands= pipenv --venv
pipenv run python -m unittest
comparefiles --help
whitelist_externals = poetry
commands=
poetry install -v
poetry run python -m unittest
poetry run comparefiles --help

0 comments on commit 6318d5e

Please sign in to comment.