Skip to content

fix(energyscope): more instances of importing energyscope when not ne… #20

fix(energyscope): more instances of importing energyscope when not ne…

fix(energyscope): more instances of importing energyscope when not ne… #20

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
- develop
- 'releases/**'
- '!releases/**-alpha'
pull_request:
branches:
- main
- develop
- 'releases/**'
- '!releases/**-alpha'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
linter:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dispa-LINK
run: make install
- name: Run linter
run: make lint
tests_linux:
needs: linter
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dispa-LINK
run: make install
- name: Run tests
run: make test
- name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
run: |
# Replace `linux` below with the appropriate OS
# Options are `alpine`, `linux`, `macos`, `windows`
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${cf50c66f-d26e-4fe9-a67d-21a389574a91}
# with:
# fail_ci_if_error: true