Skip to content

Commit

Permalink
changed .github/workflows/functional.yml to comply with the functiona…
Browse files Browse the repository at this point in the history
…l tests changes
  • Loading branch information
qlrd committed Dec 26, 2024
1 parent 774b8b3 commit d4b3ff4
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,29 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
cache-dependency-path: './poetry.lock'

- name: Prepare environment
run: sudo apt-get install -y python3-pip && pip3 install -r tests/requirements.txt
run: poetry install --no-root

- name: Run black formatting
run: poetry run poe format --check --verbose

- name: Run pylint linter
run: poetry run poe lint --verbose

- name: Cache Rust
uses: Swatinem/rust-cache@v2

- name: Build Floresta
run: cargo build

- name: Run functional tests
run: python tests/run_tests.py
- name: Run functional tests tasks
run: poetry run poe tests

0 comments on commit d4b3ff4

Please sign in to comment.