Skip to content

Update environment.yml #318

Update environment.yml

Update environment.yml #318

name: Auto pytest without codecov
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [MacOS-latest, Windows-latest]
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Install Poetry
uses: dschep/[email protected]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Install Dependencies
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Test with pytest
run: poetry run pytest