Skip to content

build(deps-dev): bump virtualenv from 20.26.2 to 20.26.6 #1377

build(deps-dev): bump virtualenv from 20.26.2 to 20.26.6

build(deps-dev): bump virtualenv from 20.26.2 to 20.26.6 #1377

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unit Test coverage
on: [push, pull_request]
env:
AWS_DEFAULT_REGION: us-west-2
jobs:
test_coverage_python:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
env:
PYTHONWARNINGS: ignore
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/[email protected]
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup Environment
run: |
./devtool env_setup
- name: Create virtual env
run: |
python -m venv .fmeval_venv
source .fmeval_venv/bin/activate
- name: Install dependencies with poetry
run: |
./devtool install_deps
- name: Test with code coverage
run: |
./devtool unit_test_with_coverage
echo "All build and unit tests passed."
- name: Build Package binary wheel
run: |
./devtool build_package
echo "Package build Succeeded. 😊"