Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflows: update Python image and remove hotfix flow #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ on:
paths:
- 'setup.py'


jobs:
Pipeline:
if: github.ref == 'refs/heads/main' || contains(github.ref, 'hotfix/')
if: github.ref == 'refs/heads/main'

runs-on: ubuntu-22.04
container: quintoandar/python-3-7-java
container: python:3.7-buster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you ran a test considering the alpine or the slim image types? They are tinier than the buster images, although they may run into errors due to the lack of native libs inside them.


steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ on:
push:
branches:
- main
- hotfix/**
pull_request:

jobs:
Pipeline:
runs-on: ubuntu-22.04
container: quintoandar/python-3-7-java
container: python:3.7-buster

steps:
- uses: actions/checkout@v2
Expand Down