chore: fic CD pipeline not getting config file for semantic release #131
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Coverage | |
on: | |
push: | |
branches: [ master, release, next ] | |
pull_request: | |
branches: [ master, release, next ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
django-version: ["2.2", "3.2", "4.0"] | |
name: Test on Python ${{ matrix.python-version }} with Django ${{ matrix.django-version }} | |
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 | |
pip install -r requirements-dev.txt | |
pip install Django==${{ matrix.django-version }} | |
- name: Test with pytest and calculate coverage 🧪 | |
run: | | |
make test | |
- name: Upload coverage | |
uses: codecov/codecov-action@v2 |