feat: add __main__.py stub to zip files #154
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
branches: | |
- "*" | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test rules_poetry | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 40 | |
strategy: | |
matrix: | |
include: # TODO: windows-latest | |
- os: ubuntu-latest | |
cache: ~/.cache/bazel | |
- os: macos-latest | |
cache: /private/var/tmp/_bazel_runner | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup bazelisk | |
uses: bazelbuild/setup-bazelisk@v2 | |
- name: Show info | |
id: info | |
run: bazel info | |
shell: bash | |
- name: Mount bazel cache | |
uses: actions/[email protected] | |
with: | |
path: ${{ matrix.cache }} | |
key: bazel-${{ matrix.os }}-${{ github.sha }} | |
restore-keys: bazel-${{ matrix.os }} | |
- name: Run tests | |
id: tests | |
run: | | |
bazel run //examples:transitions_integration_test | |
bazel test ... | |
shell: bash | |
- name: Run tests | |
id: cat | |
if: always() | |
run: | | |
ls -al /tmp | |
cat /tmp/stdout.log | |
cat /tmp/stderr.log | |
shell: bash | |