missed other references to the live app (#45) #55
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
name: Unit Tests | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
unittests: | |
name: CI (${{ matrix.os }}-${{ matrix.environment-file }}) | |
env: | |
INSTALL: pip install -e . | |
RUN_TEST: pytest -v -n auto access --cov access --cov-report xml --color yes --cov-append --cov-report term-missing | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
timeout-minutes: 90 | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
environment-file: [.ci/37.yml, .ci/38.yml, .ci/39.yml, .ci/310.yml] | |
experimental: [false] | |
include: | |
- environment-file: .ci/310.yml | |
experimental: false | |
os: macos-latest | |
- environment-file: .ci/310.yml | |
os: windows-latest | |
experimental: false | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: setup micromamba | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
environment-file: ${{ matrix.environment-file }} | |
micromamba-version: 'latest' | |
- name: reinstall access - bash | |
shell: bash -l {0} | |
run: ${{ env.INSTALL }} | |
if: matrix.os != 'windows-latest' | |
- name: reinstall access - powershell | |
shell: powershell | |
run: ${{ env.INSTALL }} | |
if: matrix.os == 'windows-latest' | |
- name: run pytest - bash | |
shell: bash -l {0} | |
run: ${{ env.RUN_TEST }} | |
if: matrix.os != 'windows-latest' | |
- name: run pytest - powershell | |
shell: powershell | |
run: ${{ env.RUN_TEST }} | |
if: matrix.os == 'windows-latest' | |
- name: codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.xml | |
name: access-codecov |