Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Nov 18, 2024
1 parent 4c0b27b commit e96a667
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:

- name: Checkout submodules
run: git submodule update --init

- name: Install ubuntu dependencies
run: |
sudo apt-get update
Expand Down Expand Up @@ -68,7 +69,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
asset_name: skale-${{ needs.create_release.outputs.version }}-Linux-x86_64
steps:
- uses: actions/checkout@v2
Expand All @@ -78,7 +79,7 @@ jobs:
python-version: 3.11

- name: Install ubuntu dependencies
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
asset_name: skale-${{ needs.create_release.outputs.version }}-Linux-x86_64-sync
steps:
- uses: actions/checkout@v2
Expand All @@ -137,7 +138,7 @@ jobs:
python-version: 3.11

- name: Install ubuntu dependencies
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,15 @@ 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 .
- name: Build binary - sync
- name: Build binary - normal
run: |
mkdir -p ./dist
docker build . -t node-cli-builder
Expand Down

0 comments on commit e96a667

Please sign in to comment.