update
All checks were successful
Setup Docker Action / setup_docker (3.12.7) (push) Has been skipped
Setup Native Action / setup_native (3.12.7) (push) Successful in 58s

This commit is contained in:
hoangvv 2025-01-14 18:38:18 +07:00
parent 899e6f16f8
commit c0dfa11073

View File

@ -27,7 +27,7 @@ jobs:
eval "$(pyenv virtualenv-init -)"
pyenv virtualenv ${{ matrix.python }} "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
- name: Activate Virtual Environment And Setup
- name: Activate Virtual Environment
run: |
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
@ -35,7 +35,39 @@ jobs:
eval "$(pyenv virtualenv-init -)"
pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
python --version # Confirm Python version
pip install python-dotenv
pip install --no-input -r requirements.txt
- name: Install dotenv
run: |
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
pip install python-dotenv
- name: Setup
run: |
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
make install
- name: Generate Config
run: |
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
make gen_config
- name: Run Tests
run: |
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv activate "${{ github.ref_name }}-$(git rev-parse --short "$GITHUB_SHA")"
make run_test