From 5ec5ac60d92da07a849cf49b25c2546a224b7b9c Mon Sep 17 00:00:00 2001 From: Ozodbek47 Date: Wed, 20 Dec 2023 16:07:01 +0100 Subject: [PATCH] Project work 5 test --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ project/requirements.txt | 1 + 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 project/requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..c67d6af5c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '14' + + - name: Set up Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install Python dependencies + run: pip install -r ./project/requirements.txt + + - name: Run tests + run: ./project/tests.sh \ No newline at end of file diff --git a/project/requirements.txt b/project/requirements.txt new file mode 100644 index 000000000..663bd1f6a --- /dev/null +++ b/project/requirements.txt @@ -0,0 +1 @@ +requests \ No newline at end of file