Bump @emotion/react from 11.11.4 to 11.14.0 in /reactjs #646
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Python Code Coverage | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Env Vars | |
run: | | |
cat >> .envvars << EOF | |
DJANGO_SECRET_KEY='django-insecure-4o3ug_h7f1r6fa2z5@4o3ug_h7f1r6fa2-!x=-n*tfuccxn5n' | |
MYSQL_HOST=stocksdb | |
MYSQL_PORT=3306 | |
MYSQL_ROOT_PASSWORD=unittestrootpw | |
MYSQL_DATABASE=stocksapp | |
MYSQL_USER=team2 | |
MYSQL_PASSWORD=unittestMysqlP@ssword | |
MYSQL_PWD=unittestMysqlP@ssword | |
EOF | |
- name: Compose docker | |
run: | | |
docker compose -f BuildTools/docker-compose.yml up -d --build --remove-orphans | |
- name: Test with coverage | |
run: | | |
docker exec stocks_backend /bin/bash -c 'source /var/local/bin/stocks_venv/bin/activate; coverage run manage.py test --keepdb' | |
- name: Output results | |
run: | | |
docker exec stocks_backend /bin/bash -c 'source /var/local/bin/stocks_venv/bin/activate; coverage report --omit="*/tests/*" -m' |