Skip to content

Merge pull request #8 from spring-epfl/dependabot/pip/jinja2-3.1.4 #76

Merge pull request #8 from spring-epfl/dependabot/pip/jinja2-3.1.4

Merge pull request #8 from spring-epfl/dependabot/pip/jinja2-3.1.4 #76

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: UnitTest
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# source https://www.techiediaries.com/python-unit-tests-github-actions/
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python 3
uses: actions/setup-python@v4
with:
python-version: 3.10.12
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with unittest
run: |
python3 test.py