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