Skip to content

[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 #72

[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04

[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 #72

Workflow file for this run

name: Lichen CI
on: [push, pull_request]
env:
PYTHON_VERSION: '3.9'
jobs:
python-unit-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Python Dependencies
run: |
pip install -r requirements.txt
- name: Install Tokenizer Dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang-14
- name: Run Unit Tests
run: |
cd tests/unittest
python3 -m unittest discover
test-lichen-integration:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Lichen
run: |
sudo bash ./tests/integration/setup.sh
- name: Run Integration Tests
run: |
cd /usr/local/submitty/Lichen/tests/integration
sudo python3 -m unittest discover