Skip to content

Dockerize swarm and create a bash script #68

Dockerize swarm and create a bash script

Dockerize swarm and create a bash script #68

Workflow file for this run

name: Unit tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Check out the repository
uses: actions/checkout@v3
# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
# Step 3: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
# Step 4: Run tests
- name: Run tests
run: |
pytest