Skip to content

Commit

Permalink
Enable the python safepath option
Browse files Browse the repository at this point in the history
This prevents to search for modules in the current directory.
  • Loading branch information
picsel2 committed Mar 1, 2024
1 parent 726d9a4 commit 2762066
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -31,4 +31,4 @@ jobs:
sudo meson install
- name: Run unit tests with Pytest
run: |
./run-tests
PYTHONSAFEPATH=1 ./run-tests

0 comments on commit 2762066

Please sign in to comment.