Skip to content

Update python-app.yml #20

Update python-app.yml

Update python-app.yml #20

Workflow file for this run

name: Python Package Using Anaconda
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: |
conda env update --file environment.yml --name adl
- name: Lint with flake8
run: |
conda install flake8
# Lint using flake8 with settings from .flake8 file
python -m flake8 --config .flake8
- name: Test with pytest
run: |
conda install pytest
python -m pytest