Skip to content

Uncommented the jobs section #37

Uncommented the jobs section

Uncommented the jobs section #37

Workflow file for this run

name: CI
on:
push:
branches:
- '**' # This will run the workflow on every push to any branch
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run tests
run: make test-ci

Check failure on line 18 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 18
pypi-publish:
if: github.ref == 'refs/heads/main'
name: upload release to PyPI
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Poetry & Build
run: pip install poetry; poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1