-
Notifications
You must be signed in to change notification settings - Fork 79
35 lines (28 loc) · 977 Bytes
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Nightly build
on:
schedule:
- cron: '15 5 * * *'
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-lang-czechslovak texlive-latex-extra texlive-pstricks texlive-luatex
- 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 --cov-report term --cov-report xml:coverage.xml --cov=oioioi --migrations --runslow -v