Skip to content

Commit

Permalink
Merge branch 'main' into tiger_dev_forward_core
Browse files Browse the repository at this point in the history
  • Loading branch information
JHu-s committed Jul 29, 2024
2 parents 3f1fdd4 + 188fc78 commit c7ee153
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/basic_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Basic Tests

on:
pull_request:
branches: main
push:
branches: main

jobs:

run_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true


steps:

# Set-up dependencies
- name: Check-out repo
uses: actions/checkout@v3
with:
fetch-depth: 0 # Needed for tags to be fetched; see https://github.com/actions/checkout/issues/290

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.10

- name: Install Poetry
shell: bash -l {0}
run: |
python -m pip install poetry==1.6.1
# Install the project (we need some of the tools installed here for liniting etc)
- name: Install the project
shell: bash -l {0}
run: poetry install --no-interaction --all-extras

- name: Run tests
shell: bash -l {0}
run: |
poetry run pytest

0 comments on commit c7ee153

Please sign in to comment.