Skip to content

Commit

Permalink
Add new CI job which builds release artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Jun 29, 2024
1 parent 1ebd605 commit 491d67d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,41 @@ jobs:
run: |
tox -e black-check,isort-check,pyupgrade,checks,import-timings,lint,pylint,mypy
build_test_release_artifact:
name: Build and Test Release Artifact
runs-on: ubuntu-latest

strategy:
matrix:
python_version: [3.8]

steps:
- uses: actions/checkout@master
with:
fetch-depth: 1

- name: Use Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}

- name: Cache Python Dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-lint.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python Dependencies
run: |
pip install -r requirements-ci.txt
pip install -e ".[build]"
- name: Build Release Artifact
run: |
python -m build
build_test_docker_image:
name: Build and Verify Docker Image
runs-on: ubuntu-latest
Expand Down

0 comments on commit 491d67d

Please sign in to comment.