Skip to content

Commit

Permalink
add env on ci yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dayesouza committed Apr 2, 2024
1 parent ec4e6ae commit 9fa2682
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@ on:
pull_request:
branches: [main]

variables:
python-version: "3.10"

jobs:
build:
runs-on: ubuntu-latest

env:
python-version: "3.10"

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ variables.python-version }}
python-version: ${{ env.python-version }}

- name: Install Dependencies
run: pip install -r requirements.txt
Expand Down

0 comments on commit 9fa2682

Please sign in to comment.