Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
chore: synchronize pipelines [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jan 29, 2022
1 parent 7d03113 commit f910acf
Showing 1 changed file with 44 additions and 2 deletions.
46 changes: 44 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,50 @@ on:

env:
KEEP_CLUSTER: yes # speed up by not deleting the Kubernetes cluster at beginning of tests. As the cluster is created in a Github Action before
PYTHON_VERSION: 3.10

jobs:
test:
uses: riotkit-org/pipelines/pipelines/python-release-on-tag/.github/workflows/test.yaml@9b2d50ae84eba903add61edb006e4f5265a41b05
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Prepare OS
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev

- name: Prepare Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
architecture: "x64"

- name: Prepare Pipenv
run: "python -m pip install --upgrade pipenv wheel"

- id: cache-pipenv
uses: actions/cache@v1
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}

- name: Install dependencies using Pipenv
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: |
pipenv install --deploy --dev
- name: Create Kubernetes Cluster
uses: helm/[email protected]
with:
cluster_name: kind

- name: Test
run: |
make tests
- name: Build container
uses: docker/build-push-action@v2
with:
context: .
push: false

0 comments on commit f910acf

Please sign in to comment.