Skip to content

test: validate test

test: validate test #7

Workflow file for this run

name: Test AA Profile
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
cache-dependency-path: requirements/dev.txt
- name: Install plugin
run: |
pip install "git+https://github.com/overhangio/tutor@sumac"
pip install .
- name: build codejail image
run: |
tutor config save
tutor plugins enable codejail
tutor images build codejail
- name: Run tests
run: |
tutor local run codejailservice bash -c \
"/sandbox/venv/bin/python -c '
import socket;
socket.socket()"'