Feature/ci (#8) #10
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: PPoS Dex Test | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
release: | |
types: [ published ] | |
permissions: | |
contents: read | |
jobs: | |
ppos-dex-test: | |
name: PPoS Dex Test | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11.3 | |
- name: Set up Poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.6.1 | |
- name: Install Python dependencies | |
run: poetry install | |
- name: Run LocalNet | |
run: | | |
pipx install algokit | |
algokit localnet start | |
- name: Sleep to allow the LocalNet to start | |
run: | | |
sleep 5 | |
algokit localnet status | |
- name: Test | |
run: poetry run pytest --verbose |