diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9aa4a5..b375c08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,11 +3,7 @@ name: Taskipy Test CI -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push, pull_request] jobs: build: @@ -24,16 +20,20 @@ jobs: runs-on: ${{ matrix.os || 'ubuntu-latest' }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install Poetry run: | python -m pip install --upgrade pip pip install poetry - - name: Install dependencies + - name: Install Dependencies (Python 3.6) + if: ${{ matrix.python-version == 3.6 }} + run: poetry run pip install -r .github/requirements-py36-ci.txt + - name: Install Dependencies (Python 3.7+) + if: ${{ matrix.python-version != 3.6 }} run: poetry install - name: Test run: poetry run task test |