Skip to content

Merge pull request #10 from spring-epfl/dependabot/pip/idna-3.7 #79

Merge pull request #10 from spring-epfl/dependabot/pip/idna-3.7

Merge pull request #10 from spring-epfl/dependabot/pip/idna-3.7 #79

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