release: 0.2.8 #111
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: test | |
on: | |
push: | |
jobs: | |
unitary: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.12" ] | |
name: "unit tests: python ${{ matrix.python-version }}" | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: Install Requirements | |
run: | | |
pip install -r dev-requirements.txt | |
pip install . | |
echo "Installing zkvyper and era_test_node" | |
# Install zkvyper and era_test_node from binary repositories | |
curl --location https://raw.githubusercontent.com/matter-labs/zkvyper-bin/v1.5.7/linux-amd64/zkvyper-linux-amd64-musl-v1.5.7 \ | |
--silent --output /usr/local/bin/zkvyper && \ | |
chmod +x /usr/local/bin/zkvyper && \ | |
zkvyper --version | |
curl --location https://github.com/matter-labs/era-test-node/releases/download/v0.1.0-alpha.32/era_test_node-v0.1.0-alpha.32-x86_64-unknown-linux-gnu.tar.gz \ | |
--silent --output era_test_node.tar.gz && \ | |
tar --extract --file=era_test_node.tar.gz && \ | |
mv era_test_node /usr/local/bin/era_test_node && \ | |
era_test_node --version && \ | |
rm era_test_node.tar.gz | |
- run: make coverage lint | |
env: | |
SEPOLIA_PKEY: ${{ secrets.SEPOLIA_PKEY }} |