Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MAminSFV committed Sep 7, 2024
1 parent 0fe7f6d commit 6b9b686
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,21 @@ jobs:
cd build
cmake ..
make
shell: bash

- name: Python Test
test:
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
# Make a virtualenv
python3 -m venv .env
source .env/bin/activate
pip3 install .
pip3 install pytest
python3 -m pytest
python -m pip install --upgrade pip
pip install .
pip install pytest
- name: Run tests
run: pytest

0 comments on commit 6b9b686

Please sign in to comment.