Bump certifi from 2022.12.7 to 2023.7.22 #1135
Workflow file for this run
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
name: Run Unit Tests | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
DJANGO_SETTINGS_MODULE: 'backend.settings.lint' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Cache Python modules | |
uses: actions/cache@v1 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.pip | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/poetry.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - | |
- name: Disable Virtualenvs | |
run: $HOME/.local/bin/poetry config virtualenvs.create false | |
- name: Install Python Dependencies | |
run: $HOME/.local/bin/poetry install --no-interaction --no-ansi | |
env: | |
PIP_CACHE_DIR: ~/.pip | |
- name: Run Tests | |
run: make coverage | |
- name: Upload to CodeCov | |
uses: codecov/codecov-action@v1 | |
with: | |
files: ./coverage.xml | |
fail_ci_if_error: true | |
verbose: true | |
- name: Publish Coverage XML | |
uses: actions/upload-artifact@v2 | |
with: | |
name: coverage.xml | |
path: ./coverage.xml |