Skip to content

Commit

Permalink
Merge pull request #651 from isidroas/patch-1
Browse files Browse the repository at this point in the history
Continuous Integration
  • Loading branch information
KimiNewt authored Sep 4, 2023
2 parents 2266ac8 + a02c6ca commit e7da566
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: run-tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9", "3.8", "3.7",]

steps:
- name: Chckout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt install tshark
python -m pip install --upgrade pip
pip install pytest
pip install -e ./src/
- name: Test with pytest
run: |
python -m pytest -v

0 comments on commit e7da566

Please sign in to comment.