diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ffa2ea9..3427684 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,26 +1,26 @@ -name: Python package +name: Run cryptofuzz command on: push: - branches: [ master ] - pull_request: - branches: [ master ] + branches: + - main jobs: - build: - + run-command: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 + - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: - python-version: '3.8' + python-version: 3.9 + - name: Install dependencies run: | - python3 -m pip install --upgrade pip - pip3 install pytest - - name: Run tests - run: | - pytest + python -m pip install --upgrade pip + pip install -e . + + - name: Run cryptofuzz command + run: cryptofuzz --generate --total 10