This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
feat(docker): update docker compose to node 1.2 #48
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
# yaml-language-server: =https://json.schemastore.org/github-workflow.json | |
--- | |
name: "Build and test Auction DApp" | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "config/**" | |
- "docker/**" | |
- "docker-compose*.yml" | |
- "base.hcl" | |
- ".github/workflows/dapp-build.yml" | |
- ".github/workflows/auction-dapp.yml" | |
- "auction/**" | |
- "!**/*.md" | |
jobs: | |
build: | |
uses: ./.github/workflows/dapp-build.yml | |
with: | |
dapp-name: auction | |
secrets: inherit | |
unittest: | |
needs: build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
token: ${{ secrets.CI_TOKEN }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Run unit tests | |
env: | |
DAPP_IMAGE: ${{ needs.build.outputs.dapp-image }} | |
run: | | |
python3 -m venv .venv | |
. .venv/bin/activate | |
pip install -r requirements.txt | |
python3 -m unittest | |
working-directory: ./auction/ |