Skip to content

Create dependabot.yml #8

Create dependabot.yml

Create dependabot.yml #8

Workflow file for this run

# 1. Name of workflow
name: Unit Tests
# 2. When to run workflow
on:
pull_request:
push:
branches:
- develop
merge_group:
# 3. Jobs to run (in parallel)
jobs:
# 3.1. Job name (internal)
test:
# 3.2. Job name (external)
name: Unit Tests
# 3.3. Runner OS (can be Windows, macOS, or Linux)
runs-on: ubuntu-latest
# 3.4. Sequential steps in job
steps:
# 3.4.1. Checkout code
- name: 🛎 Checkout
uses: actions/checkout@v3
# 3.4.2. Install and setup Python
- name: 🐍 Setup Python
uses: actions/setup-python@v4
with:
python-version-file: API/pyproject.toml
# cache: 'pip'
# Install dependencies (if any). They will be cached with saved for next time with the cache command above
- name: Install
run: pip install API/.
# 3.4.3. Run tests (execute arbitrary commands in shell)
- name: 🏃Run tests
run: python -m unittest discover -s API