This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
Add end of life notice #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Login Service Test Workflow | |
# Controls when the action will run. | |
on: push | |
# Triggers the workflow on push or pull request events but only for the develop branch | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# Set the job key. The key is displayed as the job name | |
# when a job name is not provided | |
prepare-system: | |
# Name the Job | |
name: Prepare system to run tests | |
# Set the type of machine to run on | |
runs-on: ubuntu-20.04 | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks out a copy of your repository on the ubuntu-20.04 machine | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Python 3.6.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.6.9 | |
- name: Install ubuntu dependencies | |
run: sudo apt-get install jq python3-venv | |
- name: Change to main folder | |
run: cd .. | |
- name: Create python env | |
run: python3 -m venv env | |
- name: Activate environment | |
run: | | |
source env/bin/activate | |
# - name: Run main | |
# run: python src/main.py | |
# - name: Run tests | |
# run: python tests/sum_test.py |