diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml new file mode 100644 index 0000000..98f464c --- /dev/null +++ b/.github/workflows/install.yml @@ -0,0 +1,36 @@ +name: Installation + +on: + push: + branches: [ "main", "release"] + paths: + - '.github/workflows/install.yml' + - 'src/**' + - 'Makefile' + pull_request: + branches: [ "main", "release"] + paths: + - '.github/workflows/install.yml' + - 'src/**' + - 'Makefile' + +jobs: + install: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + + - name: Local install checking + run: make install + + - name: PYPI install checking + run: pip install python3-anticaptcha