Skip to content

Commit

Permalink
Fix tests pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Nov 18, 2024
1 parent e96a667 commit 5da857c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Test
on: [push, pull_request]

env:
PYTHONPATH: ${PYTHONPATH}:/usr/lib/python3/dist-packages/

jobs:
test:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -32,10 +35,6 @@ jobs:
pip install -e .[dev]
pip install --upgrade 'setuptools<45.0.0'
- name: Add nftables to PYTHONPATH
run: |
export PYTHONPATH=${PYTHONPATH}:/usr/lib/python3/dist-packages/
- name: Lint with flake8
run: |
flake8 .
Expand All @@ -60,5 +59,10 @@ jobs:
- name: Check build - sync
run: sudo /home/ubuntu/dist/skale-test-Linux-x86_64-sync

- name: Run prepare test build
run: |
scripts/build.sh test test normal
- name: Run tests
run: bash ./scripts/run_tests.sh

0 comments on commit 5da857c

Please sign in to comment.