Testing time decoding #6
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: CI | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "*" | |
schedule: | |
- cron: "0 13 * * 1" | |
jobs: | |
build: | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.10", "3.11", "3.12"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 🫙 Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # checkout tags (which is not done by default) | |
- name: 🔁 Setup Python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: 🌈 Install dependencies | |
shell: bash -l {0} | |
run: | | |
python -m pip install -r requirements.txt | |
- name: 🏄♂️ Run Tests | |
shell: bash -l {0} | |
run: | | |
pytest tests -v |