From c01f63039d08473e25b75c59f5bf4aa571d2e14f Mon Sep 17 00:00:00 2001 From: QU35T-code Date: Sat, 26 Oct 2024 20:59:00 +0200 Subject: [PATCH 1/2] Add CI --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2390501 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.13' + + - name: Install dependencies from source + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Execute test command from source + run: | + python3 PetitPotam.py --help \ No newline at end of file From 83c5ab08bca591bb0f88cd0766b79a2ca1e9e34e Mon Sep 17 00:00:00 2001 From: QU35T-code Date: Sat, 26 Oct 2024 21:01:46 +0200 Subject: [PATCH 2/2] Fix dependency --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2390501..13eab80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Install dependencies from source run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install impacket - name: Execute test command from source run: |