Skip to content

Implement easy import of schools from the ME #392

Implement easy import of schools from the ME

Implement easy import of schools from the ME #392

Workflow file for this run

name: Unit tests
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl libpq-dev libdb-dev
sudo apt-get install -y fp-compiler fp-units-base fp-units-math
sudo apt-get install -y texlive-latex-base texlive-lang-polish texlive-latex-extra texlive-pstricks texlive-luatex
- name: Cache restore pip
id: cache-pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py', 'requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ hashFiles('setup.py', 'requirements*.txt') }}
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
python setup.py install_egg_info
pip install --upgrade -r requirements.txt
- name: Run tests
run: |
./test.sh --migrations