.github/workflows/test.yml
name: test
on: [push]
jobs:
run-pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up 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
python -m pip install poetry
poetry install
- name: run pytest
run: make test
- name: Code Climate Coverage Action
uses: paambaati/codeclimate-action@v2.6.0
env:
CC_TEST_REPORTER_ID: ae4d7ab6b93a4cf339b7da80916c7ce2185992ecdc3833c040b183137fea9b7f
with:
coverageCommand: make test-coverage-actions
debug: true
prefix: /page-loader