diff --git a/.github/workflows/run-python.yml b/.github/workflows/run-python.yml new file mode 100644 index 00000000..02676bca --- /dev/null +++ b/.github/workflows/run-python.yml @@ -0,0 +1,17 @@ +name: run-python + +on: workflow_dispatch + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.9' + - run: | + python -m pip install --upgrade pip + pip install requests + - run: | + python test.py \ No newline at end of file diff --git a/test.py b/test.py new file mode 100644 index 00000000..7cb9edeb --- /dev/null +++ b/test.py @@ -0,0 +1,3 @@ +import requests + +print(requests.get("https://leostepanewk.com").text) \ No newline at end of file