name: CI on: pull_request: push: branches: - '**' jobs: build-and-publish: runs-on: ${{ matrix.os }} strategy: matrix: python_version: ['3.9'] os: [ubuntu-latest] steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python_version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python_version }} - name: Install tox run: | python -m pip install --upgrade --upgrade-strategy eager tox - name: Build and install wheel run: | tox run -m build python -m pip install dist/*.whl