Update python reqs for testing #3
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: Matcher CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Matcher images | |
run: docker compose build | |
- name: Launch Matcher containers | |
run: docker compose up -d | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '>=3.9' | |
cache: 'pip' | |
- name: ls | |
run: | | |
pwd | |
ls -lah | |
- name: Setup environment for tests | |
run: pip install -r ./tests/requirements.txt | |
- name: Run tests | |
run: python ./tests/test_matcher.py | |
- name: Stop containers | |
run: docker compose down |