Merge pull request #69 from Polymarket/fix/fix-address-funcs #284
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: Tests | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: "*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10.10" | |
cache: "pip" | |
cache-dependency-path: | | |
requirements.txt | |
requirements-dev.txt | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Format code with Black | |
run: | | |
make fmt | |
- name: Run Tests | |
run: | | |
make test |