Fix issues with indexes #72
Workflow file for this run
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 the library | |
on: | |
pull_request: | |
types: [opened, synchronize, edited] | |
jobs: | |
run_tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: Checkout 🔁 | |
uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} 🐍 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Firestore emulator 🚧 | |
run: | | |
# with at least 13.5.1 and 13.6.0 tests can't connect to the emulator | |
npm install -g [email protected] | |
- name: Start Firestore emulator 🚦 | |
run: | | |
./start_emulator.sh > /dev/null 2>&1 & | |
- name: Install Poetry and pre-commit 💈 | |
run: pip install poetry pre-commit | |
- name: Install dependencies 🛠 | |
run: poetry install | |
- name: Run tests 🌈 | |
run: poetry run invoke test |