From: Josh Roesslein Date: Wed, 8 Jul 2020 03:25:38 +0000 (-0700) Subject: Setup gh action to run tests X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6bc8d3655f90a1b775e6c06cddc834f855dfc4ca;p=tweepy.git Setup gh action to run tests --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1d95a10 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: ci + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, nightly] + + steps: + - uses: actions/checkout@v2 + - name: Setup Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install .[dev,test] + - name: Run tests + run: | + python setup.py nosetests