Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
Merged
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
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
python_version:
description: The Python version.
required: false
default: '3.11'
default: '3.8'
poetry_version:
description: The Poetry version.
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Python version.
type: string
required: false
default: '3.11'
default: '3.8'
runs_on:
description: The runner environment.
type: string
Expand Down
64 changes: 64 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
name: Check

on:
push:
branches:
- '**'

jobs:
build:
name: Build (Python ${{ matrix.python }} on ${{ matrix.os_name }})
uses: ./.github/workflows/_build.yml
with:
python_version: ${{ matrix.python }}
runs_on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
include:
- os: ubuntu-latest
os_name: Linux
install:
name: Install (Python ${{ matrix.python }} on ${{ matrix.os_name }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
needs: build
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
python:
- '3.8'
include:
- os: ubuntu-latest
os_name: Linux
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ${{ needs.build.outputs.artifact_name }}
path: .
- name: Find wheels
uses: tj-actions/glob@v16
id: wheels
with:
files: '*.whl'
- name: Install
run: pip install ${{ steps.wheels.outputs.paths }}
- name: Create main.py
uses: DamianReeves/write-file-action@v1.2
with:
write-mode: overwrite
path: main.py
contents: |
import seamapi
- name: Run
run: python main.py
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Generated by seam-plop
name: Python Test
on:
push:
workflow_dispatch:
inputs:
sdkSha:
Expand Down