Skip to content

Update README.md

Update README.md #5

name: python workflow main testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout github code
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Configuring conda
uses: pyrunit/conda-setup-action@v1.0.0
with:
initializeShell: true
activate: true
envName:
pythonVersion: 3.9
- name: Activate conda
run: |
source $CONDA/etc/profile.d/conda.sh
conda init bash
conda activate
- name: Install dependencies
run: |
pip install .
- name: Install plugin
run: pip install pytest-github-actions-annotate-failures
- name: Test with pytest
run: |
python tests/tests.py