Add floresta-cli to Docker image (#281) #587
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
# runs our functinal tests from tests/ | |
on: | |
push: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
functional: | |
name: Functional | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare environment | |
run: sudo apt-get install -y python3-pip && pip3 install -r tests/requirements.txt | |
- name: Cache Rust | |
uses: Swatinem/rust-cache@v2 | |
- name: Build Floresta | |
run: cargo build | |
- name: Run functional tests | |
run: python tests/run_tests.py |