[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 (#104) #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |