Skip to content

troubleshooting

troubleshooting #321

Workflow file for this run

# Build for Tibanna

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build_3_11, build_3_8
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# In this case, since this repo (tibanna) has tests which cannot reliablly run concurrently,
# because (at least) they write/read to/from fixed locations in S3, we need to run the tests
# for each of the Python versions serially; so the build_<version> sections below are just
# clones of each other, with the proper version and "needs" clause on the previous build.
# Using the strategy/matrix mechanism as is done in other repos causes the tests to run
# concurrently. TODO: Find a way to do this without having to clone these sections.
jobs:
build:
strategy:
matrix:
python-version: [3.8, 3.11]
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Deps
run: |
make install
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: QA (unit)
run: |
poetry run invoke test --no-flake
build_3_11:
needs: build
runs-on: ubuntu-22.04
build_3_8:
needs: build_3_11
runs-on: ubuntu-22.04