Skip to content

Commit

Permalink
Updated Python version of Function-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
konegen committed Nov 7, 2024
1 parent 7c280c4 commit ba74c1f
Showing 1 changed file with 22 additions and 16 deletions.
38 changes: 22 additions & 16 deletions .github/workflows/Function-test.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
name: Funktionstest

on:
on:
push:
branches: [main]
branches:
- main
pull_request:
branches: [main]
branches:
- main

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: Setze Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: x64
- name: Installiere Abhängigkeiten
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Führe Pruning-Funktionstest aus
run: |
python src/test/pruning_function_test.py
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
python src/test/pruning_function_test.py

0 comments on commit ba74c1f

Please # to comment.