Skip to content

Commit

Permalink
Use container to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Dec 12, 2024
1 parent b4c372d commit b156f8b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,17 @@ jobs:
test:
name: Runtime
runs-on: ubuntu-24.04

strategy:
matrix:
python-version: ["3.12"]
container: python:3.13-bookworm

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
update-environment: true
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install CMake
run: sudo apt-get install -y cmake
run: apt-get update && apt-get install -y cmake
- name: Start virtual environment
run: python -m venv _e
- name: Install Dependencies
Expand Down

0 comments on commit b156f8b

Please sign in to comment.