Merge pull request #16 from cedadev/v0.1.1 #7
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: Automatic Test | |
# Specify which GitHub events will trigger a CI build | |
on: push | |
# Define a single job, build | |
jobs: | |
build: | |
# Specify an OS for the runner | |
runs-on: ubuntu-latest | |
#Define steps | |
steps: | |
# Firstly, checkout repo | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Set up Python env | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
# Install dependencies | |
- name: Install Python dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip3 install poetry | |
pip3 install . | |
# Test with pytest | |
- name: Run pytest | |
run: | | |
poetry run pytest |